theres nothing like learning a new language to help clear the coding cobwebs. a while back i was beginning to feel pretty bored with programming. writing code was growing stale, and i needed something new. a number of scripting languages were getting a fair amount of attention in the press and on the web, and i thought i might find an answer to my ennui among one of them. after a bit of looking around, i decided upon groovy.
a groovy quickstart 【程序编程相关:Extensible Code Gene】in some ways, groovy programming can be as much like java programming as you want it to be. you can use it as syntactic sugar to simplify some of your least-favorite java tasks or you can embrace it and explore language constructs unlike anything the typical java programmer encounters. in this article, you will get some background and a quick introduction to closures. 【推荐阅读:Linux on the Desktop】
i chose groovy for several reasons. first, it met the basic need for something new. second, i was drawn by groovys tight relationship to java. not only would i have something new, i might also have something i could leverage at work where weve kicked around the idea of adding a scripting feature to our product. it had been a while since i seriously examined any scripting language, and with all of the glowing reports i was hearing about how far scripting had come, i was curious to learn what all the fuss was about.
... 下一页