groovy-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thibault Kruse <>
Subject Re: Is it possible to enable CompileStatic for an entire project
Date Wed, 22 Jun 2016 12:50:28 GMT
> People want to be able to refactor without risking of the code eventually
> breaking totally, and that's the problem with Groovy. Code will eventually
> become stale and stop working if it is put on layway for a while. No compile
> time checks is a problem for anyone interested in code quality.

For that purpose, it might be sufficient to make @TypeChecked the
default, or a compiler option.
That would catch most such problems at compile time.

View raw message