anchor.diff:  def result = name != null ? name : "Unknown"
   ----
   
  -Thanks to Groovy Truth, the null check can be simplified to just 'name'.
  +Thanks to Groovy Truth, the `null` check can be simplified to just 'name'.
   
   And to go even further, since you return 'name' anyway, instead of repeating name twice in this ternary expression,
   we can somehow remove what's in between the question mark and colon, by using the Elvis operator, so that the above becomes:
  
positive.code: so as to help with documenting your code, and also help IDEs for code-completion,
  or for leveraging the static type checking or static compilation capabilities of Groovy.
  
  Another place where 'def' is redundant and should be avoided is when defining constructors:
  
  [source,groovy]
  ----
  
negative.code: 
  == Return keyword optional
  
  In Groovy, the last expression evaluated in the body of a method can be returned without necessitating the `return` keyword.
  Especially for short methods and for closures, it's nicer to omit it for brevity:
  
  [source,groovy]
  