本文还展示了使用Groovy 创建不可变类的两种方法,这两种方法摈弃了Java实现中的许多令人头疼的缺陷。 It also shows two ways to create immutable classes in Groovy , removing much of the pain of the Java implementation. InfoQ:你能分享一些关于Groovy 中元对象协议(MOP)的想法吗?? InfoQ: Can you share your thoughts about Meta Object Protocol(MOP) feature in Groovy ? 实际上我用了“groovy ”这个词,她甚至没有退缩,这在很多方面都令人担忧。 I actually used the word“goovy ” and she didn't even flinch, which was worrying on so many levels. 实战Groovy:这个developerWorks系列专门探索Groovy 的实际使用方法,并教您何时以及如何应用它们。 Practically Groovy: This developerWorks series is dedicated to exploring the practical uses of Groovy and teaching you when and how to apply them successfully. 最近,我们也已经看到了象Spock测试框架和CodeNarc(Groovy 和Java的静态分析工具)这类工具的崛起。 Recently, we have also seen the rise of tools like the Spock testing framework and CodeNarc(the static analysis tool for Groovy and Java).
InfoQ:总的来讲,你对Groovy 的未来如何看,尤其是Grails?? InfoQ: What do you see as the future of Groovy in general and Grails in particular? 除了Groovy 之外,还值得一提的是Hack已经进入前50名,Type(暂时)本月跌回了第57位。 Next to Groovy , it is also worth mentioning that Hack has entered the top 50 and TypeScript(temporarily) has fallen back to position 57 this month.". 有比语言更Groovy 的核心,所以学习Groovy覆盖扩展常规的生态系统。 There is more to Groovy than the core language, so Learning Groovy covers the extended Groovy ecosystem. 为了了解Groovy 的基本语法,让我们先看看一个简单的HelloWorld程序。 In order to understand the basic syntax of Clojure , let's first look at a simple Hello World program. 用Groovy 编写的Grails使您可以与遗留的Java代码无缝集成,同时又添加了脚本语言的灵活性和动态性。 Written in Groovy , Grails give you seamless integration with your legacy Java code while adding the flexibility and dynamism of a scripting language…. 想要与Java更加友好,可以选择动态语言诸如Groovy 或者Gant(一个使用Groovy而不是XML来制作Ant脚本的工具)。 A more Java-friendly alternative can be found in dynamic languages such as Groovy or Gant(a tool for Ant scripting using Groovy instead of XML). 他是开源软件的忠实信徒,参与了Groovy 、JMatter、Asciiidoctor等广为人知的项目。 He is a true believer of Open Source and has participated in popular projects like Groovy , JMatter, Asciidoctor and more. 这次,他将解决HTTPBasic身份验证问题,并使用Groovy 的ConfigSlurper读入配置设置。 This time, he tackles HTTP Basic authentication and use of Groovy 's ConfigSlurper to read in configuration settings. 根据Tiobe的说法,现在更多的“胶水”软件都是用Groovy 编写的。 According to Tiobe, these days more‘glue' software is being written in Groovy . 它在Eclipse公开许可证下可用,OpenBoxes主要是由Groovy 写的,它的源代码可以在GitHub上看到。 Available under an Eclipse Public License, OpenBoxes is written primarily in Groovy and its source code can be browsed on GitHub. 他最后提到的就是在2007年10月人们所见证的G2One的成立,它为Groovy 和Grails提供了培训服务和咨询:. And, finally, October 2007 saw the formation of G2One, which provides training support and consulting for Groovy and Grails. 我个人喜欢那些在C++或者Java方面有着丰富经验,而且能用Groovy 、Perl或Python写脚本的软件工程师。 I personally like software engineers who have strong experience in either C++ or Java and can write scripts in Groovy , Perl, or Python. 我个人喜欢那些在C++或者Java方面有着丰富经验,而且能用Groovy 、Perl或Python写脚本的软件工程师。 I personally like Software Engineers who have substantial experience in either C++ or Java and can write scripts in Groovy , Perl, or Python. 在本期实战Groovy文章中,ScottDavis将继续构建第1部分中的Groovy Twitter客户机:Gwitter。 In this Practically Groovy article, Scott Davis continues building the Groovy Twitter client named Gwitter that he began in Part 1. 当时它被推送是因为最流行的持续集成工具Jenkins的脚本主要是用Groovy 编写的。 At that time it was pushed because scripts for the most popular Continuous Integration tool Jenkins are mainly written in Groovy .
Display more examples
Results: 216 ,
Time: 0.0199