Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Groovy Talk 2013 - javaMexico.org
Search
Javier Ramírez Jr
June 12, 2013
Programming
160
3
Share
Groovy Talk 2013 - javaMexico.org
Javier Ramírez Jr
June 12, 2013
More Decks by Javier Ramírez Jr
See All by Javier Ramírez Jr
El Futuro de Java, Cloud y AI
benek
0
33
Resilient Architecture Simplified - Isabel Palomar - @javaMexico
benek
0
62
Groovy & Grails 2012
benek
0
93
Charla sobre Testing
benek
1
110
Other Decks in Programming
See All in Programming
アーキテクチャモダナイゼーションとは何か
nwiizo
14
2.9k
AI-DLC 入門 〜AIコーディングの本質は「コード」ではなく「構造」〜 / Introduction to AI-DLC: The Essence of AI Coding Is Not “Code” but “Structure”
seike460
PRO
0
220
[PHPerKaigi 2026]PHPerKaigi2025の企画CodeGolfが最高すぎて社内で内製して半年運営して得た内製と運営の知見
ikezoemakoto
0
320
Strategy for Finding a Problem for OSS: With Real Examples
kibitan
0
130
メッセージングを利用して時間的結合を分離しよう #phperkaigi
kajitack
3
550
AIエージェントで業務改善してみた
taku271
0
400
Mastering Event Sourcing: Your Parents Holidayed in Yugoslavia
super_marek
0
140
Going Multiplatform with Your Android App (Android Makers 2026)
zsmb
1
280
Reactive ❤️ Loom: A Forbidden Love Story
franz1981
2
220
レガシーPHP転生 〜父がドメインエキスパートだったのでDDD+Claude Codeでチート開発します〜
panda_program
0
230
生成 AI 時代のスナップショットテストってやつを見せてあげますよ(α版)
ojun9
0
340
Linux Kernelの1文字のミスで 権限昇格ができた話
rqda
0
2.3k
Featured
See All Featured
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
700
The Spectacular Lies of Maps
axbom
PRO
1
680
Designing Powerful Visuals for Engaging Learning
tmiket
1
320
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
2
660
Navigating Algorithm Shifts & AI Overviews - #SMXNext
aleyda
1
1.2k
My Coaching Mixtape
mlcsv
0
92
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
180
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8k
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
93
Mobile First: as difficult as doing things right
swwweet
225
10k
How to train your dragon (web standard)
notwaldorf
97
6.6k
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
310
Transcript
Groovy Language
Javier Ramírez javaMexico.org Founder COO and Co-Founder @ SintelTI @_benek
on Twitter Who am I?
¿Groovy?
¿Groovy?
¿Groovy?
None
None
programming language for the JVM
Java Lang Bytecode
Java Lang Bytecode Jython JRuby Scala Clojure Groovy +250...
... +250
= ¿?
= Java
= Super Java
= Java + Esteroids
Object Oriented Dynamic Compact Inspired by Ruby, Python, Perl, Smalltalk,
Java Features
“Hello World”
“Hello Cruel World”
Java
Groovy
Groovy takes care of your Java knowledge But you can
write with “the groovy way”
Groovy
Groovy
Groovy
Groovy
Groovy optional semicolon
Avoid concatenation “Hello “ + name;
Avoid concatenation “Hello “ + name;
Avoid concatenation “Hello “ + name; “Hello $name”
you don’t need to “return” The last value or expresion
will be returned by Groovy
avoid parentheses in many methods println “Hello $name”
“def” keyword avoids declaring type, type will be inferred dynamic
typing
The Groovy way...
Groovy can run code like in a script scripting
Groovy can run code like in a script scripting
Native support for collections List, Maps, Arrays
Native support for collections List, Maps, Arrays
Groovy Ranges
Groovy Ranges
Groovy Ranges
Maps
Maps
spread-dot operator invoke a method which iterates through all items
of a collection
spread-dot operator invoke a method which iterates through all items
of a collection
Advanced Features Closures Metaprogramming AST transformations
A closure... anonymous code block that can be assigned to
a variable
A closure...
A closure...
A closure...
A closure...
Metaprogramming Ability to add methods and properties at runtime
Metaprogramming times() method in Integer? this behaviour is added by
Groovy at runtime
Metaprogramming
más info... groovy.codehaus.org javamexico.org
¡Gracias!
Javier Ramírez Jr www.javamexico.org www.sintelti.com.mx twitter: @_beneK