2 ms·
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 co
by haasted 15y ago
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.
- calebmpeterson 15y agoSounds 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.