Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

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.

(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

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!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • 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
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            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?

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

    How do I use this? | Other CB clients
    Other Users?
    Others about the Monastery: (5)
    As of 2020-07-13 14:19 GMT
    Find Nodes?
      Voting Booth?

      No recent polls found