Yesterday, I finally launched http://www-106.ibm.com/developerworks/java/library/j-alj08034.html, it is estimated that this article can be referred to as Groovy's classic introductory article for many years.
Groovy is a taught in JRE. According to the author of the article, in addition to this winter, there are several more people, but all based on Perl, only Groovy is based on Java And I am submitting a JSR and I can add it to J2se if I can add it. Therefore, I can of course follow.
Of course, a good tool at least one requirement is to configure, and the configuration I have written is very simple, but everyone is not understanding my configuration instructions, SIGH). Still talking to Groovy, just set up two environment variables. Just write a:
Class Dog {
Name
Owner
}
D = New Dog (Name: "Beta", Owner: "Nick") Println "$ {D.OWNER} OWN $ {D.Name}"
This of course there will be output, as for what this is obviously don't need me to say, the earth people know.