News for hackers. Stuff that matters.
Re:Why Scala seems difficult but really isn’t by mquander on Wednesday June 22, 2011 @03:03PM (#2684581)
I can complain about C#. The type inference is artificially limited which forces you to write types everywhere. There is no way to define an interface on types which are not under your control. Generics are missing a number of features that would be extremely useful, like defining a parameterized type with a constraint on the parameter type's constructor. Metaprogramming is limited to treating lambdas as expression trees and has no syntactic sugar. There is no facility for destructuring function arguments or doing pattern matching. Events and properties are not first-class constructs that can be passed around, which limits composability. Tuples have no syntactic sugar associated with them so they look super ugly. Et cetera, et cetera, et cetera.

It severely beats Java, but it falls pretty far short of Clojure, in my opinion.

Re:Why Scala seems difficult but really isn’t by MrMan on Saturday June 25, 2011 @04:30PM (#2696484)
"It severely beats Java, but it falls pretty far short of Clojure, in my opinion."

agreed!