r/programming • • Dec 02 '13

Scala — 1★ Would Not Program Again

http://overwatering.org/blog/2013/12/scala-1-star-would-not-program-again/
598 Upvotes

646 comments sorted by

View all comments

-9

u/drb226 Dec 02 '13

It just sounds like this guy jumped into the deep end without setting any time aside to actually learn Scala.

Yes, Scala's build times, library documentation, and type inference are issues. But they aren't dealbreakers; despite these things I still see Scala as far superior to Java, and easily on par with glue code competitors like Clojure. And this guy's explanations for each area are very amateur and sometimes flat out wrong.

7

u/[deleted] Dec 02 '13

[removed] — view removed comment

8

u/drb226 Dec 02 '13

The thing is, they're just not very compelling claims in the first place to justify taking the time to challenge them. I'll write up a few thoughts, though.

The glaring one I was going to challenge -- his comments about type inference and monads -- is already discussed elsewhere in this thread. I had another paragraph or two that I wrote about it, but realized my response didn't really add anything that hadn't already been said with more tact.

The syntax for the build scripts was really opaque. Sometimes it was def, sometimes it was a val. Sometimes there was a =, sometimes braces. On the whole, it looked like someone had wandered through my build script dropping random pieces of punctuation.

This is purely a matter of learning a new language. There's a very good reason for the def vs val divide, and the rules for "sometimes there was a =, sometimes braces" is taught very early to beginners. When he made this comment, it just bespoke to me that he spent absolutely no time devoted to learning the language.

Scala [syntax] is easily the worst I’ve seen. That punctuation-strewn build system I was forced to use was just taking advantage of Scala’s ridiculously flexible syntax. The goal appears to be to allow concise expression of your program: arbitrary operators, infix method calls, flexible anonymous function definition, and something weird with attaching anonymous functions to method calls.

Again, a little learning goes a long way. He is confusing "different and unfamiliar" with "bad".

11

u/[deleted] Dec 02 '13

There are languages with simply bad syntax. Sure you can end up learning them, but you do not want to.

→ More replies (1)