Saturday 20 March 2004 — This is almost 21 years old. Be careful.
Groovy is a new dynamic language that’s borrowing heavily from Python and Ruby. It compiles to standard Java bytecodes, and so can be run on existing JVMs. It looks very interesting. This snippet in particular caught my eye:
foo = 'cheese'
sql = TestHelper.makeSql()
sql.eachRow("select * from FOOD where type=${foo}") {
println "Gromit likes ${it.name}"
}
Comments
Add a comment: