News for hackers. Stuff that matters.
Re:Dart language by haasted on Monday October 10, 2011 @07:49AM (#3093355)

  In Dart, you can often create objects directly from an interface, 
  instead of having to find a class that implements that interface
What?? Why to blur the concepts of classes with interfaces and introduce a quirk? Beauty comes from simplicity and symmetry

Sounds like Java's anonymous classes. Quite a useful feature, actually.

Re:Dart language by calebmpeterson on Monday October 10, 2011 @09:26AM (#3093649)
Sounds like Java's anonymous classes. Quite a useful feature, actually.

It's only useful because Java lacks first class functions and syntax for lambdas. This is the single most irritating thing about Java to me. When this is fixed with the release of 8, the only thing Java will be missing is a really good implementation of persistent data structures a la Clojure.