concept this point in category groovy

appears as: this point
Groovy in Action, Second Edition

This is an excerpt from Manning's book Groovy in Action, Second Edition.

  • They often make good replacements for line comments, because they reveal assumptions and verify them at the same time. The assertion reveals that, at this point, it’s assumed that y has the value 1. Comments may go out of date without anyone noticing—assertions are always checked for correctness. They’re like tiny unit tests sitting inside the real code.
  • When not compiling explicitly, Groovy finds a class by matching its name to a corresponding *.groovy source file. At this point, naming becomes important. Groovy only finds classes where the class name matches the source filename. When such a file is found, all declared classes in that file are parsed and become known to Groovy.