诶,E文有点生疏了,还是练练吧.
Groovy 's defination on its web site:
Groovy is an agile dynamic language for the Java Platform with many features that are inspired by languages like Python, Ruby and Smalltalk, making them available to Java developers using a Java-like syntax.
From above ,we can see It has two specifics obviously :
1.A basis adapter for Java platform,java is becoming more and more complex and need some help to develop applications shortly duration,simple configuration,and high quality to cater the customers' requirment.Agile is a widely used norn in the future.
2.Java is the most remain system.Many servers run with it.Daynamic Language is not a very flash thing to us.But it can use the abundant java liberary and opensource framework,and Java need Daynamic Lanuage to simplify the configuration of Java applications development.
Ruby is a DSL(Domain-Specific Language) .Appointment has high priority than configuation.And Its value is borrowed from other language such as python,perl.It has a new community.However ,I still prefer groovy:
1.Ruby cost time to study.It's not friendly to java developer.Study a new language is not a easy thing .From syntax to inner value,we will cost a lot of time on it.Groovy has similar grammer as Java.It's easy to learn.
2.Ruby exsits long time ,but was concerned recently.And its behavior is not good as groovy,Groovy 1.0 version will be published not far(about at the end of 2007).
It is more potential than Ruby.
3.Groovy and Java can help each other, and they use area will be more widely as the large project.Ruby is a small community which will turn to JRuby,I think that one day,JRuby will get all the thing in the Ruby.What Ruby can do where Groovy also can do.
Groovy is the feature of Java,for agile development.It is a weapon for the developper of Java.Concern more about Groovy recently.