groovy语言简介

  • is an agile and dynamic language for the Java Virtual Machine
  • 是一个敏捷的基于java虚拟机的动态语言
  • builds upon the strengths of Java but has additional power features inspired by languages like Python, Ruby and Smalltalk
  • 基于java的功能集,且增加了强大的功能集,灵感来自Python, Ruby and Smalltalk这些语言
  • makes modern programming features available to Java developers with almost-zero learning curve
  • 使得java开发者拥有了现在化的开发语言,但是,不需要额外的学习成本
  • supports Domain-Specific Languages and other compact syntax so your code becomes easy to read and maintain
  • 支持DSL开发语言和其他紧凑开发语言,这样可以使你的开发的代码容易阅读和维护
  • makes writing shell and build scripts easy with its powerful processing primitives, OO abilities and an Ant DSL
  • 可以使得用groovy语言写出像linux上的shell的脚本,这是基于强大的过程化元语句,面向对象的能力,和ant dsl
  • increases developer productivity by reducing scaffolding code when developing web, GUI, database or console applications
  • 通过减少脚手架代码来提高开发效率,这样使开发web,GUI,database或者监控程序时非常高效
  • simplifies testing by supporting unit testing and mocking out-of-the-box
  • 通过支持容器外的Mocking单元测试来简化单元测试
  • seamlessly integrates with all existing Java classes and libraries
  • 无缝整合所有的java类和库
  • compiles straight to Java bytecode so you can use it anywhere you can use Java 
  • 直接可以将groovy代码编译成java的字节码,这样你能在任何运行java的地方运行groovy编译出来的代码

相关推荐