4 points · by nithinbekal · 15y ago · 25 comments
I've worked on ruby/rails for over a year, so that's the language I'm most comfortable with, but these days I work on C and PL/SQL. I'm trying to pick up a language that's very different from the ones I've worked with. Here are the languages I'm considering:
Erlang/Haskell/Common Lisp: Understanding functional programming would be a challenge, coming from ruby's object oriented world and these languages seem the top contenders in that category.
Scala: It's has both object-oriented and functional features, so will it be easier to catch up with functional programming in Scala than with a purely functional language like Haskell?
Smalltalk: It would be fun to learn a language that's been around for over three decades and has had so much influence on the design of other languages.
Any other language? Clojure? Go? Brainfk? ;-) Tell me what language you think would be most interesting to learn and why you recommend it?
1. Learn you a haskell for Great Good -- http://learnyouahaskell.com/
Real World Haskell -- http://www.realworldhaskell.org/
And yes, I am not looking for a language that I will use on a daily basis. If I wanted to build something now, I will pick ruby because that's the language I know best. Instead, I'd rather learn a language that makes me write code differently.
Thanks for the advice. :)
I can definitely recommend Haskell for expanding your mind and making you look at familiar languages in a new way.
I'd be a little more hesitant about creating a production app with Haskell, though it's been done.
Lisp is another good answer to your question. It's different. And the cliché is true: even if you never use it, your coding will improve if you understand Lisp. (Land of Lisp is a fine primer.)
However, with Erlang it has been much easier to find actual projects to do.
If you do the exercises till the metacircular evaluator in SICP book it will teach you Lisp and about how to develop a naive lisp-1 interpreter. Its a great exercise.
If you dont feel comfortable with the SICP book (many people dont like it), you can start with How to Design Programs(HTDP)[2]. It teach scheme/racket, and is one of the better books to teach programming that I've seen, and the people in the mailing list and irc channel are very friendly.
The good thing is that both of them are free[3], so you can take a look and see if the fit your expectations.
[1] http://ocw.mit.edu/courses/electrical-engineering-and-comput...