I was recently pulled into我最近拉成 Groovy Groovy是 , a new Java based scripting language. You can read a ,一个新的基于Java的脚本语言。您可以阅读一 good article highlighting groovy in onjava.com好文章,突出Groovy是在onjava.com .

Groovy adds several syntactic sugar to Java. Groovy是增加了几个句法,糖渣华。 By itself it should be nice.本身应该很好。 However considering that most Groovy developers are originally Java developers, it might promote habit development which they cannot bring back to Java.不过考虑到多数Groovy是发展商原本是Java开发,它可能促进的习惯,发展他们无法带回的Java 。 Also some of scripting niceties are good for scripting languages, yet feel out of place for an oo development language.也有一些脚本细节是好的,为脚本语言,但感觉出来的地方,一面向对象的开发语言。 Just bad habit forming is what I think.只是坏习惯的形成是我的想法。
Personally I have seen that when I am forced to do some coding in javascript, I have to be extra careful when I am back in Java, to avoid pages of compilation errors.我个人已经看到,当我不得不做一些编码在JavaScript中,我必须格外小心,当我回到在Java中,以避免网页汇编的错误。 In that sense I am more comfortable using BeanShell as it much more closely mimics Java.在这个意义上,我更舒适的使用beanshell ,因为它更加密切模仿的Java 。
With autoboxing, enhanced for loops and other jdk1.5 syntactic sugars Java is much easier to code with.与autoboxing ,增强环路和其他jdk1.5句法糖Java是容易得多的代码。 My main gripe is public static void main我的主要抱怨是公共静态无效的主要 : )
Some of the scripting elements in groovy are counterintuitive, more so probably because I haven’t been initiated in Ruby cult(?).一些脚本元素的沟槽是相违背,更可能是因为我还没有开始在红宝石邪教( ? ) 。

Groovy is a decent language as scripting languages go, however the target audience is what makes me uncomfortable. Groovy是是一个体面的语言作为脚本语言去,但目标受众是什么令我不舒服。

Somehow I don’t feel the need to learn yet another scripting language.在某种程度上,我不觉得有需要了解的又一脚本语言。

Beanshell is slow as it is interpreted. beanshell是缓慢的,因为这是解释。 So what we need is a compiled beanshell to get best of both the worlds.因此,我们需要的是一种汇编beanshell ,以获得最好的两个世界。 I think I just might have a solution.我想我刚才可能有一个解决办法。 More on it later.更多的后来。

Looking forward for your comments.期待着您的意见。

PS.保安局常任秘书长。 Yes JPython is good, but then I am not much of Python & Perl fan either.是jpython是好的,但当时我没有太大的Python &的Perl范。 They are good for hacking, I would cringe to develop and maintain enterprise applications in them (not that it is impossible or it hasn’t been done).他们是好的,为黑客,我想cringe发展和维持企业应用在他们(不,这是不可能的,还是没有这样做) 。