Defensive Programming in Groovy
February 19th, 2008 | Groovy
One of my favorite features of Groovy is the safe navigation operator. As a Java developer by day (heroic blogger by night?), I spend a good amount of time fixing bugs revolving around null pointer exceptions. With Groovy, the ? operator saves you from constantly having to check for null. Andrew Glover has a good example of Defensive Programming with Groovy over at The Disco Blog today.






0 comments ↓
There are no comments yet...Kick things off by filling out the form below.
Leave a Comment