4 ms·
I know dynamic languages are all the rage these days, and that Haskell is on the rise, but Scala is really sexy to me right now. All of my large-ish projects h
by calambrac 18y ago
I know dynamic languages are all the rage these days, and that Haskell is on the rise, but Scala is really sexy to me right now.
All of my large-ish projects have been in either Java or Python (I've done smaller things in Ruby, Haskell, CL, Erlang, C, C++ - I enjoy playing around with different languages). I love the conciseness of Python, but I always find myself either spending way too much time writing tests or hunting down bugs after simple refactorings. Java, on the other hand, is, as a language, misery incarnate, but there's something intensely satisfying about being able to just delete large chunks of code and have the compiler tell me exactly where the functionality those chunks provided needs to be replaced.
I had looked at Scala in the past, but always from the POV of learning functional programming. For the last week, though, I've just been treating it as a Java replacement, and I'm in love. It has the same feeling of liberation as the first time I really dug into Python (and is actually more expressive than Python in several cases I've come across), but I can use my slash-and-burn refactoring style without any hiccups.
It inherits the huge number of Java libraries out there, and it has a fantastic web framework (liftweb), an Erlang-style concurrency library that feels like a built-in part of the language, pattern-matching, etc. etc. People evaluating languages for new projects should really take a serious look into this one.