"Groovy is a new agile dynamic language for the JVM combining lots of great features from languages like Python, Ruby and Smalltalk and making them available to the Java developers using a Java-like syntax."
Have you seen Groovy yet? I hadn't. It actually looks pretty cool. I think it's a pretty darned good idea to make the Java platform available in a lighter weight language. Not sold? Just check out Groovy Markup and how easily you can create a little Swing window:
// lets create a form with a label & text field for each property of a bean swing = new SwingBuilder() widget = swing.frame(title:'My Frame') { panel() { for (entry in someBean) { label(text:entry.key) textField(text:entry.value) } button(text:'OK', actionPerformed:{ println("I've been clicked with event ${it}") }) } } widget.show()
I actually got to Groovy while reading an article on why open sourcing Java probably won't cause more developers to move to Java on the server. The reason? Because there are languages like Python.
8:22:47 AM
|