3 ms·
> Ideally, I would like to have a language that can compile a Java class that seamlessly interacts with other Java stuff. Groovy fits the bill.
by mbell 14y ago
> Ideally, I would like to have a language that can compile a Java class that seamlessly interacts with other Java stuff.
Groovy fits the bill.
- negrolious 14y agoGroovy has a lot of interop issues. The dynamic resolution of overloaded methods being just one example. Xtend is much more interoperable as it binds at compile-time just like Java does and uses the exact same type system.
- mbell 14y ago> The dynamic resolution of overloaded methods being just one example. That has never caused an interoperability issue for me. If there is concern about which method would get picked then use explicit types. > Xtend is much more interoperable as it binds at compile-time just like Java does and uses the exact same type system You can enable this in groovy 2 using explicit types and @CompileStatic.