3 ms·
> I program a lot in Groovy these days, and it now has optional static typing with a limited amount of type inference Groovy has enabled types on variables and
by vorg 12y ago
> I program a lot in Groovy these days, and it now has optional static typing with a limited amount of type inference
Groovy has enabled types on variables and functions (and fields and methods) since Groovy 1.0 but that makes the code run slower.
- zmmmmm 12y agoThat is not what I am referring to. 2.0 introduced true static typing that compiles to code that not only enforces complete type correctness at compile time (unlike the old option) but executes at near Java speed.