laziness, impatience, and hubris | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
IMHO, not only should you learn as many languages as possible, but you should aim to learn languages that are as far away from your normal language as you can. These days, most developers work with languages that are directly derivied from C (C++, Java, and Perl are all examples). They may be only vagely reminicient of C, but C's influance is undoubtable on all of them. It would therefore do most developers well to try to find a language that is almost but not quite completely unlike C. For instance, a few weeks ago, I began dabbling in OCaml, inspired by MJD's strong typing talk (where he shows how ML's strong type system actually caught an infinte loop bug (!)) I've never used a strongly typed language before, and before I read MJD's speech notes, I had assumed that such a language would be even more annoying than C's type system. Now I know that it's C's brain damaged types that are the problem, not strong typing in general. Perl will give you great flexibility in writing your code. If anything, this only makes learning other languages more important, as opposed to sitting in Perl's sandbox. Even if you never code in those languages, you'll probably end up coding similar ideas in your Perl code and other languages that you use often. Someone (demerphq?) said in the CB a while back that they've been programming LISP for so long that they really ought to learn the language. Functional programming, as in LISP or ML, is possible in Perl, but Perl isn't necessiarily the One True Way to do it (in fact, it quite likely isn't, since its version of functional programming is just one aspect of Perl, whereas its a fundamental part of OCaml). So go ahead and learn Smalltalk. For that matter, learn INTERCAL (a language so annoying that it uses DO NOTE THAT for one-line comments). The important thing is to be immersed in as many different styles as possible. ---- : () { :|:& };: Note: All code is untested, unless otherwise stated In reply to Re: is it worthwhile to learn smalltalk ?
by hardburn
|
|