Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Does Knowing Perl Help or Hinder Learning another Language

by herveus (Prior)
on Aug 27, 2001 at 18:05 UTC ( [id://108123]=note: print w/replies, xml ) Need Help??


in reply to Does Knowing Perl Help or Hinder Learning another Language

Howdy!

I'm one of those guys who started with ALGOL in the 1970's. That was shortly followed by TUTOR (on PLATO), which gave me a deep appreciation for user-interface issues (guess why Macintosh clicked so well with me...). I'll not detail the half-dozen or so languages in which I have done significant work over the years, but skip to C (a bit), SQL (Sybase flavored), and (duh) Perl.

I did have the need to write programs in C to work against a Sybase database. Then I started using Perl and Sybperl. Perl spoiled me big time... The level of abstraction cut out so much niggling bits of code that my productivity want way up, and the frustration went way down. Now I could focus on the "what", not the "how". Tk helped make OO programming more obvious in useful ways.

How does this ramble answer the question? I guess that in the long run it won't matter that much which language you learn first, so long as you get properly exposed to a range of languages. Done right, you should be well equipped to take on a new language as circumstances require. Try not to become a language bigot (no matter how "perfect" the language).

yours,
Michael

  • Comment on Re: Does Knowing Perl Help or Hinder Learning another Language

Replies are listed 'Best First'.
Re: Re: Does Knowing Perl Help or Hinder Learning another Language
by arhuman (Vicar) on Aug 27, 2001 at 18:41 UTC
    UPDATE :
    1) this post is supposed to be an answer to the main thread.
    (Sorry herveus, I goofed when answering...)
    2) Thanx dragonchild for pointing out an error (when I switch from hash to array, I should also remove 'keys' ;-)
    IMHO you can/should learn from every language.
    (Even with COBOL I learnt a lot about file IO, Indexed files, EBCDIC prob...)

    I believe that each new language may give you another way to see (and thus solve) problems...
    Pascal taught procedural programming, and OO basic programming (it was an object pascal).
    C taught me to use memory and loops eficiently and gave me a first contact with "Unix semantic".
    <UPDATE>>
    Smalltalk influenced the coding of a lot of experienced coders here...
    Ruby influenced the coding of another experienced coder here...
    </UPDATE>>
    Prolog taught me to think in term of predicate, recursivity and backtracking.
    Lisp taught list processing, but I didn't understand/like them util I've found Perl...
    (Btw in my mind Lisp will always be more about lambda calculus than about list)

    I really discovered list with Perl (Lovely map and grep...).
    I hardly imagine using other structure as efficient and evolutive as hashes...
    the for my $var (@mytab) definitly took over my old C for(my $i=0;$i<=$#mydata;$i++)
    It's not only a matter of syntax, it's a way to 'see' your structure, to 'think' your interface
    (to be always evolutive, using hashes..) and your looping differently...

    So, to be short a new language will often bring you new solutions/point of view
    (in the 'old time' people were saying 'paradigm' ;-)
    which can only enhance your ability to solve problem cleanly and efficiently (ie: enhance your programming skill)

    "Only Bad Coders Code Badly In Perl" (OBC2BIP)
      While Smalltalk did strongly affect merlyn and many others (eg dws), I have only been exposed to it second hand.
        I thought, you've been exposed enough to show a good understanding of the language (as far as I can see)
        and enough to influence some of your answers.
        I refer to this post or this one among others...

        ;-)


        "Only Bad Coders Code Badly In Perl" (OBC2BIP)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://108123]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (4)
As of 2024-04-20 00:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found