Something that surprised me when I first looked javac's source code was that they had added a cons list (immutable singly-linked list). That opened my eyes a little to the world outside j.u.ArrayList and friends.
The fact that Java's collections have lots of optional methods is a flaw, and we all know about the obsolete but not deprecated classes in there. j.u.c is heaps better, but I'd say it's not 'reached the ground' yet. Nobody I've interviewed has known that CopyOnWriteArrayList exists, for instance. Executors has some traction but it's thought of more as a thread pool than any higher abstraction. Try chaining Futures, for instance, to create a workflow, and you'll end up using listeners etc., which just aren't needed in libs like Akka and Functional Java. It's a good set of primitives but we want more! On Jul 22, 2012 8:42 PM, "Cédric Beust ♔" <[email protected]> wrote: > > On Sun, Jul 22, 2012 at 3:06 PM, Kevin Wright <[email protected]>wrote: > >> A much better "plain old" object type, improved collections, and a decent >> concurrency library > > > No argument about the first point but I strongly disagree with your next > two. > > I can't think of big holes in the collections (besides closures, which are > a language feature, not a library one, so not relevant here). > > As for the concurrency library... seriously? java.concurrent.util is not > just very powerful, it's very well designed and it's running tens of > thousands of high volume web sites today. No other library can claim to > come close to this, except maybe .net's. > > -- > Cédric > > -- > You received this message because you are subscribed to the Google Groups > "Java Posse" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/javaposse?hl=en. > -- You received this message because you are subscribed to the Google Groups "Java Posse" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/javaposse?hl=en.
