Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Comment on

( #3333=superdoc: print w/ replies, xml ) Need Help??
BASIC, more specifically, TI99/4A BASIC, was my "first language". That was back in high school. Went on to college and started learning "real" languages (read: they actually do things). First was Pascal, as an intro to CompSci, then, the following year, COBOL. Pascal I'd recommend simply because it makes learning structured programming and a pantheon of algorithms like sorting and database manipulation quite easy for the uninitiated. (COBOL I wouldn't recommend to anybody!)

From there I went on to a semester of C, and failed it with flying colors. I tripped-up on the most basic concept of the language: pointers. I couldn't understand them, couldn't understand the indirections, the referencing, couldn't keep it all straight in my head. None of the other languages we went over dealt with this concept. I gave up on the language and took an F.

Fast forward a few years. I pick up Perl because a friend contracts me to design her website and incorporate a few features. Excited at the prospect of finally being able to write CGI, I dove in head first. Boy, was I ecstatic.

Now, two and a half years later, I'm understanding, writing, and using advanced Perl techniques like OO, modules, references and regex. Recently I've been bitten by the bug to return to C and C++ so I can write natively-compiled apps which run fast and handle GUI's and whatnot (yes, I know there's Perl adaptations for these), and here's what I found to my surprise: after dealing with Perl, I finally understand C's deal with pointers! I'm able to draw parallels to my experience with Perl, and it all goes down like water.

I really wonder if my experience would've been better had we been taught Perl in the intro to CompSci class instead of Pascal. Both are good languages; Pascal is good as a compiled language (a useful concept to teach the learning), but Perl has so much more potential for more advanced programming and more usefulness down the road.

After changing my neural pathways for the better, it helped me to understand.

-Shawn
(Ph) Phaysis
If idle hands are the tools of the devil, are idol tools the hands of god?


In reply to Re: Learning Perl as a First (programming) language by Phaysis
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 cooling their heels in the Monastery: (14)
    As of 2014-07-25 19:04 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      My favorite superfluous repetitious redundant duplicative phrase is:









      Results (174 votes), past polls