I have inherited significant amounts of Groovy code, and I have found it difficult to maintain for several reasons:
- Very often it's hard to tell what's the type of a variable.
- Corollary: it's easy to modify a variable with a different type, and not being aware of it.
- Many errors will be discovered until run-time (which is scary if your unit testing doesn't cover pretty much everything).
- The type of the parameters is basically ignored.
- The IDE I'm using (STS Pro) is useful, but far behind from Java. For instance, refactoring is just not available.
- Suggestions are available some times, others, not.
Although I appreciate the compactness of the language, maintenance has been difficult and cumbersome.
I have tried to manually convert some pieces to Java, it's been a pain. Are you aware of any tools or plugins that help with this conversion?