Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Joint Groovy/Java compiler, and its options and impact on the Groovyc Ant task
  • Explain the new Foo(a:1, b:2) shortcut notation calls setA() and setB() after new Foo() is created and initialized, and that this is not an atomic thread-safe operation
  • Type handling
    • 'as' keyword with its different meanings
    • conversion vs coercion vs autoboxing
    • closure and map coercion to interfaces and classes
    • general typing approach (explicit static typing vs duck typing)
    • static methods called from instances (see GROOVY-1706)
    • Conversion rules, in all their complexity

...