Programming : Items related to programming and programming languages.
Updated: 3/25/2004; 8:16:46 AM.

 

Subscribe to "Programming" in Radio UserLand.

Click to see the XML version of this web page.

Click here to send an email to the editor of this weblog.

 
 

Tuesday, March 23, 2004

"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    comment []

© Copyright 2004 Tom Pierce.



Click here to visit the Radio UserLand website.

 


March 2004
Sun Mon Tue Wed Thu Fri Sat
  1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31      
Feb   Apr

Search

 
How this works

Emacs Sources
 tsql-indent.el
 user-add-sql-folding-marks
 remove-line-boundary-in-region
 convert-camel-to-underscore

My Subscriptions
 Funny
 KM