Monday, March 17, 2008

Use .each, Save A Puppy.

If you haven’t been listening to the Grails podcast you’re missing out. Sven Haiges has done a great job of bringing interesting news, tips and interviews related to Groovy and Grails. Now Glen Smith (creator of has joined Sven and a good thing has gotten even better. Could we be seeing the beginnings of the Groovy Posse? Any ideas for the theme song?

My favorite line from the last episode was when they were discussing the old Java for loop and Glen was talking about how he couldn’t imagine using a for loop to iterate over a collection and then said that “Every time you do that a puppy dies somewhere”. So next time you find yourself falling back into old habits, think of the puppies and use .each

Be sure to check out the podcast. It’s supposed to be out fortnightly (that’s every two weeks for us Yanks) so the next one should be here soon!


Andres Almiray said...

I must have missed that quote while listening, otherwise my coworkers would have stared at the cubicle where the big laughs erupted ;-)

Keep the Groovy posts coming Dave.

Dave Klein said...

That's exactly what happened in my cubicle!