Yesterday I got great news that Grails 0.1 was released. Grails can be killer app for Groovy languages.
- to learn completely new language – it is not so big problem
- completely new libraries – which is much worse
Groovy has excellent learning curve, first you can take your java code and in most cases it is Groovy code too. Then you can start using groovy typing savers like
@Property String nameinstead getter/setter methods
['a']which is instance of
['key':'value']which is instace of
definstead of type
- omit semicolons
Next step can be using GroovyTestCase instead of jUnit’s TestCase and write unit tests in groovy. Then there is very easy work with XML using Builders and GPath. If I have teased you, look at Groovy web site….