Getting Groovy

  • View
    32

  • Download
    0

Embed Size (px)

Transcript

Getting Groovy (in 5 minutes)!

Adam L. DavisMS CS, Geogia TechAuthor of Learning Groovy(& Whats New in Java 8 & Modern Java)github.com/adamldavisadamldavis.com@adamldavis

Java ~ Brian Goetz (Java Language Architect)

Groovy

PHP

groovy-lang.org

sdkman.io

Dynamic or Static (@CompileStatic @TypeChecked)

As fast as Java (with static & indy)

Meta-programming

Optional semi-colons

Optional parentheses

Short-hand for Lists and Maps

Automatic getters and setters

A better switch

Groovy 2.4 Features

Closures

Currying

Method references

Map/Filter/Reduce as collect, findAll, inject

Internal iterating using each

Operator Overloading (+ - * % / )

methodMissing and propertyMissing

AST Transformations

Traits

Groovy Features

Spock

Grails

Gradle

grooscript

groocss.org

@groocss

Thanks!

Adam L. DavisAuthor of Learning Groovygithub.com/adamldavisadamldavis.com@adamldavis@groocss