News for hackers. Stuff that matters.
Re:Clojure vs. Scala by wiremine on Tuesday December 24, 2013 @08:49AM (#6959326)
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/

Re:Clojure vs. Scala by necrobrit on Tuesday December 24, 2013 @09:33AM (#6959467)
Back 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.
Re:Clojure vs. Scala by lmm on Tuesday December 24, 2013 @11:19AM (#6959923)
I 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?
Re:Clojure vs. Scala by prakashk on Tuesday December 24, 2013 @02:33PM (#6960775)
I am not as fluent in Scala as I am in Perl, but I do like both. Perhaps, I am an exception.
Re:Clojure vs. Scala by wiremine on Tuesday December 24, 2013 @11:08AM (#6959861)
> 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.

Re:Clojure vs. Scala by dragonwriter on Tuesday December 24, 2013 @11:37AM (#6960013)
> 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.

Re:Clojure vs. Scala by taude on Tuesday December 24, 2013 @11:22AM (#6959940)
For 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.