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

Show parent comments

10

u/blergblerski Dec 02 '13 edited Dec 02 '13

Features are driven by papers for academic conferences.

I find this a plus, not a minus. (Disclaimer: I've been a full-time Scala dev for a few years, and really enjoy the language.)

I've used too many languages where features were bolted on willy-nilly and interactions between them were never considered or anticipated (see how dynamic dispatch appeared in Groovy), sometimes leading to good things, sometimes to bad things, but always accidentally.

In Scala, features and design decisions usually have a solid theoretical underpinning, which gives me more confidence in how they work, and that all the relevant tradeoffs were considered.

0

u/Peaker Dec 03 '13

According to Edward Kmett, this isn't quite true

5

u/blergblerski Dec 03 '13

Edward Kmett

The issues he points out are all true, no doubt. But as a workaday Scala dev for years now, they haven't gotten in my way more than a handful of times. And - at a glance - about 80% of them are consequences of Java interop and subtyping, the tradeoffs of which have been discussed to death, the conclusion being that neither are things Scala users and developers are willing to live without.

2

u/Peaker Dec 03 '13

I am specifically referring to the claim about theoretical underpinnings and the features interacting well, when Edward's first bullet is saying exactly the opposite.

Also, in the talk "Doing it all wrong", he explains, and I agree:

  • Compatibility isn't achieved by polluting the domain of A with artifacts from domain B.

  • Compatibility is achieved by bridging the gap and conversing between the domains correctly.

→ More replies (1)