[英]Groovy And Groovy++,Are they different?
我最近才知道groovy ++已经发布了,Groovy和Groovy ++的主要区别是什么?
Groovy++ is statically typed extension of Groovy programming language. Groovy ++是Groovy编程语言的静态类型扩展。 Additionally to all goodies of standard Groovy it adds a lot of functionality
除了标准Groovy的所有好处之外,它还增加了许多功能
Groovy++ is an extension to the core Groovy 1.x language. Groovy ++是核心Groovy 1.x语言的扩展。 You drop the GroovyPP.jar file into the Groovy library directory, add @Typed in front of the package keyword in your code, then run your code just as you would in core Groovy.
将GroovyPP.jar文件放入Groovy库目录,在代码中的package关键字前添加@Typed,然后像在核心Groovy中一样运行代码。 It infers the types, AND runs faster!
它推断出类型,运行速度更快!
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.