Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

comment on

( [id://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":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (5)
As of 2024-04-24 11:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found