3 ms·
Scala feels like the Perl of the modern era: there is more than one way to do it. There is value in that mode of thinking, and Perl is a better language than pe
by wiremine 13y ago
Scala feels like the Perl of the modern era: there is more than one way to do it. There is value in that mode of thinking, and Perl is a better language than people give it credit for.
However, I think there's a reason Python and Ruby have overtaken Perl in the interpreted language space: Python values simpler solutions [1]. Ruby also values a certain type of beauty over Perl.
Clojure/Scala is a similar dichotomy. Scala has everything you might need, while Clojure is rooted in the spartan power lisp provides.
Also, I wonder: if they weren't both JVM languages, would we even be having this type of discussion? I mean, we aren't comparing Clojure to Cobra or D.
[1] See the Zen of Python http://www.python.org/dev/peps/pep-0020/ http://www.python.org/dev/peps/pep-0020/
- necrobrit 13y agoBack in my uni days, aka not that long ago, the scala (which I love)/perl (which I hate) comparison is what made me realise that language arguments are almost always pointless. Any choice you make in a certain class of language is probably going to be roughly equal in terms of ease of use, productivity, whatever; so you might as well just go with what you are comfortable with.
- wiremine 13y ago> so you might as well just go with what you are comfortable with Very true. I was thinking of the ethos of Perl and Scala, and wasn't trying to compare the languages directly.
- lmm 13y agoI also love scala and hate perl. I wonder how close the correlation actually is - do the same type of people really like both, or is this just something people who don't like scala say?
- prakashk 13y agoI am not as fluent in Scala as I am in Perl, but I do like both. Perhaps, I am an exception.
- taude 13y agoFor me personally, if they weren't running in the JVM, we wouldn't be having this discussion. The JVM is key for many as operational stability trumps developer finger-candy. It's an easy sell to add a language change it, when it's not really going to change how an entire part of the organization is going to manage it.
- dragonwriter 13y ago> Scala feels like the Perl of the modern era: there is more than one way to do it. Scala is definitely a TMTOWTDI language. > However, I think there's a reason Python and Ruby have overtaken Perl in the interpreted language space: Python values simpler solutions [1]. Ruby also values a certain type of beauty over Perl. Ruby -- like Perl and Scala -- is also a TMTOWTDI language, its probably the most important thing it inherited from Perl (the one Perlism it isn't shedding as it grows.) So, "Ruby and Python have overtaken Perl" isn't an indicator of something wrong with the TMTOWTDI approach.