Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Comment on

( #3333=superdoc: print w/ replies, xml ) Need Help??
Personally, Perl was not my first language, so I can't speak to that. What I have run into is someone who, having heard the many wonders of Perl as it relates to other popular languages (C, C++, Java), chose not to learn Perl, but rather to keep it in mind as an ultimate destination.

Admittedly, this person comes from a shell scripting background. Concepts such as variables and looping are not new to him. He had no experience with pointers, memory management, design methodology (procedural, functional, oop), so when I would explain to him why Perl's scalar, array, and hash variable types were so cool, he had no reference point for how painful it could be to implement the same functionality that these provide in a language like C. He chose not to gloss over what seemed to him to be necessary fundamentals by learning Perl first. Instead he is learning C as it relates to system architecture and internals. He has every intention of learning Perl eventually, but would like to learn a lower-level language first so he can understand just how much he's gaining (or losing) when using Perl.

I feel that neither Perl nor C are very good first languages. Both use some very abstract concepts that I think are better learned after you've got the basics of variable types, looping, branching, etc. down. Yes, I think even Perl's wonderful scalar variables are too abstract for a beginner. Understanding how the system stores your data is critical to becoming a good programmer, and Perl tends to make things like that just a little too easy to ignore.

-Bird


In reply to Re: Learning Perl as a First (programming) language by Bird
in thread Learning Perl as a First (programming) language by japhif

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • Outside of code tags, you may need to use entities for some characters:
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others romping around the Monastery: (11)
    As of 2014-12-18 17:51 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      Is guessing a good strategy for surviving in the IT business?





      Results (59 votes), past polls