3 ms·
If you are planning to be a polyglot, I highly recommend learning a language of the APL family (APL, K, J, Kona) and writing a few nontrivial programs. The ben
by beagle3 14y ago
If you are planning to be a polyglot, I highly recommend learning a language of the APL family (APL, K, J, Kona) and writing a few nontrivial programs.
The benefits of being a polyglot is that it lets you more easily think "outside the box" in any language you are using (especially when you can't use "the right tool for the job").
The facilities in most languages are designed to let you build larger and larger abstractions based on previous abstractions. That's true for C++, Java, C#, Scala, Perl, Ocaml, Ruby, Python, and almost every other language out there.
APL (and to a smaller extent, Erlang) tick differently; on one hand, they do not provide abstraction facilities to build your own "classes" and other "abstract data types" or new kinds of "flow control". On the other hand, they provide simple tools that let you get buy without those.
Only after really grokking K, I realized how much language and library infrastructure do not actually help you achieve your goals of "getting things done". The usual reply to that is "well, but it makes things more readable/maintainable" - which might be true in most cases for e.g. C++ or Java, but that's mostly because they don't provide the right tools for the job.
Take some time to grok APL. The learning curve is not easy, but the payoff in insight and productivity is immense. (And also in pay: K programs command significantly higher salaries than e.g. Java or Scala programmers)
- bcjordan 14y agoAgreed, working with APL has been an extremely valuable exercise. Another experience I found enlightening was working through the Pragmatic Programmers book Seven Languages in Seven Weeks which points out the more interesting and distinguishing features of Ruby, Io, Prolog, Scala, Erlang, Clojure and Haskell: http://pragprog.com/book/btlang/seven-languages-in-seven-weeks http://pragprog.com/book/btlang/seven-languages-in-seven-wee...
- jcurbo 14y agoI just finished a class in my CS graduate program where we used this book for part of the class. It was very interesting and has widened my perspective on languages quite a bit (including giving me a bit of a functional language interest). I've only done C/C++/Perl in the past so working with some of the languages in the book was a bit of a mind bending experience, but very rewarding. I may have to check out APL as well.