Java developers benefit from using Groovy, but so can those who don't already know Java:
- Those who want to learn Java the easy way can learn Groovy first. They'll be productive sooner, and can go on to learn more about Java at their own pace.
- Those who don't want to learn Java, but do want to access the power of the Java virtual machine and standard libraries when programming, can use Groovy instead.
Groovy Integer Math - choose from many types of integers
Groovy BigDecimal Math - for high-precision decimal math
Groovy Floating Point Math - for high-speed decimal math
Lists and Sets - convenient notation to group items into a collection
Object Arrays - fixed-size arrays for faster collections
Maps and Sorted Maps - assign values to keys
Characters in Groovy - access the full power of Unicode
Strings and StringBuffers in Groovy - easy syntax for handling strings of characters (NEW ON 30 APRIL 2007)
Pattern Matching in Groovy - COMING SOON
Input and Output:
Files in Groovy - access the file system easily (NEW ON 2 MAY 2007)
Streams, Readers, and Writers - COMING SOON
Networking in Groovy - COMING SOON
Blocks, Closures, and Functions - compose your program from
Expandos, Classes, and Categories - encapsulate your program's complexity
Other topics coming:
tree processing, builders, XML
inheritance, method overriding, multi-methods, casting
method-to-syntax mappings (switch, for, as, operator overloading)
packages, evaluate, class loading
Using Interceptors with the ProxyMetaClass - intercept calls to methods
Java Reflection in Groovy - examine and manipulate objects that aren't known at compile time
When creating these tutorials, the aims are correctness and completeness:
- All code examples have been tested using Groovy 1.0 inside a script.
- The tutorials are detailed demonstrations of the classes, having plenty of code examples.
Only after creating all the detailed examples needed for a basic introduction to Groovy's syntax and core classes for Java newbies, will we then expand the explanations, re-sequence the information, add a Getting Started section, etc. Because they're being written by someone not working on the code base, this may happen quickly :>)