4 ms·
In current version of Groovy you can mix static and dynamic typing in different sections of code by telling the compiler what are your preference.
by minthd 12y ago
In current version of Groovy you can mix static and dynamic typing in different sections of code by telling the compiler what are your preference.
- frowaway001 12y agoWhy would you ever _not_ want typechecking?
- cheepin 12y agoStatic typing comes with benefits and costs. If you don't want to pay the costs and can forego the benefits, dynamic typing is fine.
- paulddraper 12y agoGenerally people that don't like explaining what they mean to a computer.
- frowaway001 12y agoIf your type system requires explaining things to a computer, your type system sucks, not static typing. I use types because the compiler can explain things to me.
- lmm 12y agoUp to a point - I found the static support was quite buggy and I got the impression not many people were actually using it. Has it improved in the last few years?