As if I need help...

As if I didn't neglect this blog enough as it is, I know have another outlet:  my Sun blog.  That's right.  I'm now a Sun employee and member of the GlassFish webtier team.  You can see a brief run down of what that'll look like at the new blog.  I'll probably keep the non-Sun related things off that of that blog and post them here (because I have a great track record of blogging regularly after all).  I also have a new twitter feed that will hopefully help fix some of my blogging exhaustion. Maybe it's because I rant to my imaginary (what my wife calls my online) friends, but I can never sit down long enough to type up a blog post.  Maybe I just over think my posts.  I don't know.  I find it hard to finish them these days.  They never come out right.  But with twitter, I can blast out the thought and move on.  I've avoided twitter for a while now, but I guess it's better than nothing.  So, anyway, there are now two new venues where you can hang on my every word.  And I know you want to.  There's no shame in that...  ;)

Dumb Closure Idea

There's no end of opinions in the java/closure debates.  Everyone who has half a notion of what's going on (and many who don't) has their own opinion on how closures should be implemented.  My imaginary friend Dave is no different with his Dumb Closures idea.  It looks like BGGA is going to win the day but I really wish this proposal would get a closer look.  I'm not a language lawyer by any stretch and there might be a million holes and subtleties I'm missing, but this looks like a half decent idea. The syntax is a million times simpler than others I've seen and doesn't seem to need any of the syntactic and bytecode gymnastics needed by other proposals.  In fact, it seems to need very little of either.  Dave's idea doesn't support the notion of named or typed closures so you can't stuff them in a List to be executed later.  I'm actually OK with that because I think interfaces are a better solution in almost all cases there.  This syntax, however, is very, very clean and doesn't bring the "wtf" factor that the other proposals bring.

So to all you who actually know what you're talking about in regards to closures, what do you think?  What am I missing?