#programming-blogs
Read more stories on Hashnode
Articles with this tag
While looking through some source code of the open source library groovy-wslite, I came across an annotation I had not seen before - @Delegate. This...
This one was a lifesaver. I was working on code that processes messages, and needed to add the message id to every log statement. While this sounds...
Groovy makes it easy to generate xml. Here's an example using MarkupBuilder: import groovy.xml.MarkupBuilder new MarkupBuilder().books { book { ...
I ran into some issues with groovy constructors today. The real code is rather complicated, so here's a contrived sample that illustrates the...