Groovy - Do More With Less (Code) - Talk Slides from Vancouver's 1st Groovy/Grails Meetup
- Why Groovy? What's wrong with Ruby (JRuby), Python (Jython), or Smalltalk (Bistro)?
- Application vs. Systems (Hard-Core) Programming / Groovy vs. Java
- Groovy is Java
- Groovy is Java Continued: Annotations
- Groovy is Java Continued: Enums, Static Imports, Generics
- Groovy Joint Compiler
- Groovy Goodies Missing In Java (Java is Not Groovy;-)
- Groovy Loops: Higher-Level Loops Using Closures (Code Blocks)
- What is a Closure (Code Block/Anonymous Function)?
- Closures In Action: Groovy Collections vs. Plain Old Java Collections
- Groovy JDK – Groovy Adds New Methods To Core Java Classes
- Groovy Template Strings: Expressions In Strings
- Groovy Markup (XML) Syntax
- Scripting Ant Using Groovy Markup (Gant)
- Groovy Heroes – G2One Inc. – The Groovy/Grails Startup
- Groovy/Grails in Print – Books
- Groovy/Grails Articles & Blogs
- Getting Started – Installing Groovy – 1-2-3 Steps
- And more...
Reference:
- Login or register to post comments
- 1643 reads
- Flag as offensive
- Printer-friendly version
(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)







Comments
Gerald Bauer replied on Tue, 2008/03/04 - 12:43am
Why Groovy? What’s wrong with Ruby (JRuby), Python (Jython), or Smalltalk (Bistro)?
Why yet another scripting language?
What is Java?
Conclusion #1, #2, #3: Groovy is Java
Groovy is Java
Groovy Standard Class Library Types == Java Standard Class Library Types
Groovy Joint Compiler
Compiles Groovy and Java code; can handle any dependency cycles Use the-jcompiler switch to enable the joint compilation. Example:Country.groovy:class Country { String name String capital String toString() { return "The capital of ${name} is ${capital}." } }World.java:public class World { public static void main( String args[] ) { Country canada = new Country(); canada.setName( "Canada" ); canada.setCapital( "Ottawa" ); System.out.println( canada.toString() ); } }Let’s joint compile the Groovy and Java source. That’s it. Run it. Read More...