Tag Archives: closures

Groovy Sql Closure Examples

My post about closures last week generated quite a bit of traffic and comments, both positive and negative. I decided to followup on that post with a few examples of how to add a method that I believe is missing from Groovy’s … Continue reading

Posted in java | Tagged , , , | 6 Comments

Why I Love Closures

I’ve been a big fan of closures for years. I was first introduced to them in Smalltalk, where they were just called blocks. Ruby has them and also calls them blocks. Java does not have them, though there are proposals … Continue reading

Posted in java | Tagged , , , , | 21 Comments