let's play TDD, tackles closures in java

Brian Goetz brian.goetz at oracle.com
Mon Dec 20 16:26:45 PST 2010


> You might argue that people "shouldn't" write the above code.
> I am trying to be a messenger, to let you know that people are "going" to be
> writing this code,
> Books will be written teaching this code.
> Blogs will be show off the "correct" way to access local variables.
>
> this is the path you are heading on....

Your argument amounts to: the world is full of idiots who will do stupid 
things, so you might as well get a lobotomy and join them.

I reject this argument.

Let's move on.



More information about the lambda-dev mailing list