Creating simple data classes in Java traditionally required substantial boilerplate code. Consider how we would represent Java’s mascots, Duke and Juggy: public class JavaMascot { private final String ...
One of Groovy‘s most significant “goodies” is the ability to intercept calls, even to standard Java classes, and either override existing methods or even add new methods dynamically. In this blog post ...