3 ms·
I went from Java to Perl (back when Java was all the rage). That really opened my eyes. Perl is dynamic, and you can program functional / imperative. You could
by collyw 13y ago
I went from Java to Perl (back when Java was all the rage). That really opened my eyes. Perl is dynamic, and you can program functional / imperative. You could do so much more with it in way less lines. You learn to use hashes / maps / dictionaries (instead of arrays being the obvious way to do things) because hashes are encouraged by the language.
Also, while Perl's standard OOP, is a bit of a hack on top of the language, it helped me really understand what was going on, unlike Java, where a lot of these things are like a black box.
Maybe I should have emphasized learning a second language with a different / multiple paradigms.
(Saying that when I later moved to a job using Visual Basic 6, I didn't feel like I learned much).
- edwinnathaniel 13y agoMy experience was the other way around Java => Perl, not liking it. I suppose people have different taste buds. While there are (small) values that one can get out of Java => Perl, being dynamic and functional, your experience seems seasonal (hashes, maps, etc). I felt that these days if one wants to learn algorithms and data structure, Java Collection libraries and Guava seem to be the defining standard. I don't disagree if one is learning Erlang to write scalable message queue coming from Rails. But I definitely disagree if one is learning another programming language and ended up coding the basic web-app, which seems to be the case these days.