4 ms·
> Java, with some less verbose syntax, it would be a total killer. I recently started to use Groovy more and more Did you switch to Groovy for simpler syntax?
by vorg 12y ago
> Java, with some less verbose syntax, it would be a total killer. I recently started to use Groovy more and more
Did you switch to Groovy for simpler syntax? Take a look at its grammar and you'll see it's far from simple, there's so many syntactic corner cases...
http://svn.codehaus.org/groovy/trunk/groovy/groovy-core/src/main/org/codehaus/groovy/antlr/groovy.g http://svn.codehaus.org/groovy/trunk/groovy/groovy-core/src/...
- kolev 12y agoNot for that, but because I write a bunch of one-off tools and with Groovy, I can contain everything in a single file - including external dependencies, - and this is like the simplicity and portability of Bash in a higher-level language. Of course, you need to have (Open)JDK and Groovy installed as a prerequisite. P.S. I don't like Goorvy syntax much and that's why I'm looking for alternatives all the time.