Groovy v1.7.8 releases a new Java 2 platform language

Source: Internet
Author: User
Keywords Java syntax platform language publishing new species
Tags basic code java java code java language java platform platform platform language

Groovy is a burgeoning Java 2 platform language. Groovy code can be combined well with Java code to extend existing code. The current Groovy version is 1.6.3, available on both Java 1.4 and Java 5 platforms, and can also be used on Java 6.

Groovy is an alternative language to the JVM-alternative is to use groovy on the Java platform for Java programming, using the same way as Java code.



Groovy interface

is an agile dynamic language based on Java virtual machines.
Built on top of the powerful Java language and added to the many features learned from python,http://www.aliyun.com/zixun/aggregation/13430.html ">ruby and Smalltalk."
Provides Java developers with the most popular programming language features in the modern age, and the cost of learning is low (almost 0).
Support DSL (Domain specific languages domain definition language) and other concise syntax to make your code easier to read and maintain.
Groovy has a native type, object-oriented, and an ant DSL, making it very easy to create a shell scripts.
Developers are significantly more efficient when developing Web,gui, databases, or console programs by reducing the framework of code.
Supports unit tests and simulations (objects) to simplify testing.
Seamlessly integrates all existing Java objects and class libraries.
Compile directly into Java bytecode so you can use groovy in any place where Java is used.

One advantage of Groovy is that its syntax is very similar to the syntax of the Java language. While Groovy's syntax stems from the idea of languages such as Smalltalk and Ruby, it can be imagined as a simpler, more expressive variant of the Java language. (At this point, Ruby differs from Groovy because its syntax differs greatly from the Java syntax.) )

Groovy version 1.7.8 was released as the last version of 1.7.x because the team was convinced that no bugs existed. This version fixes few problems, but it is important, especially Groovy-4678 bugs.

[GROOVY-4626]-Console launched from Groovy-all-1.7.6.jar now Super-delegates Ivy Dependancy
[GROOVY-4669]-"anystring" as byte] throws Java.lang.NumberFormatException:For input string: "AnyString"
[GROOVY-4678]-high number of generated classes

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.