Is there a "use strict" for Groovy?

Viewed 3131

I remember from my Perl days the "use strict" statement that cause the runtime to do extra validations. Is there an equivalent for Groovy?

I do not enjoy being bitten during runtime by what can be detected on compilation, like passing too few arguments to a constructor.

3 Answers
Related