
Monday September 04, 2006
A very clear and concise post by Neal Gafter on the use , differences and benifits of closures
here.
When I read the initial proposal , it was slightly confusing.
I felt that the return syntax smelt like goto's , ability to access non-final local variables was worrisome , etc.
The ideas on the last two posts (
here and
here) are very instructive and clarify things quite a bit.
The synchronous usecase is something I have tried time and again to solve within my code - usually inefficiently with hacked up callbacks : closures would be a much more cleaner fix for this problem.
Trackback URL: http://blogs.sun.com/mridul/entry/closures_in_jdk7
Posted by Nico on September 05, 2006 at 09:12 PM IST #
Posted by Nico on September 05, 2006 at 09:22 PM IST #
Posted by Mridul on September 05, 2006 at 10:31 PM IST #
Posted by Nico on September 06, 2006 at 01:47 AM IST #
Posted by Nico on September 06, 2006 at 01:58 AM IST #
Posted by mike on May 24, 2007 at 03:45 PM IST #