Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
XTend: A language made for Java developers
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
MadridJUG
October 15, 2012
Programming
390
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
XTend: A language made for Java developers
MadridJUG
October 15, 2012
More Decks by MadridJUG
See All by MadridJUG
Introducción a Scala
madridjug
3
540
Gradle: un moderno sistema de build para la JVM
madridjug
2
330
Introducción a la minería de datos con R y WEKA
madridjug
0
790
REST para móviles en tiempo real: trabajando al milisegundo
madridjug
0
160
Rapid and Reliable Developing with HTML5 & GWT
madridjug
1
200
Reflection Madness (contenidos de Java Specialist)
madridjug
2
140
JBoss Forge 101
madridjug
2
170
Lessons learned with Akka
madridjug
1
190
Gestión de gemas y jars en JRuby con Maven
madridjug
0
120
Other Decks in Programming
See All in Programming
カツオ、ご期待ください
suneo3476
0
160
Jetpack Compose Mechanisms
skydoves
2
670
AI が書く Go コードの品質を劇的に向上させる Linter: “declscope”
mpyw
0
490
Atomic Design, Enforced: Scaling Mobile Design Systems (next.app devCon / droidCon Berlin 2026)
steliosf
PRO
0
160
複雑なUIコンポーネントとの ⻑い付き合い⽅:波及するバグからテスト戦略を経て、安全な再設計へ
mixplace
0
310
パズルゲームの作り方 / how to make puzzle games
kaityo256
PRO
2
280
Androidだけじゃない、DroidKaigiで広がった私の技術スタック
akkeylab
0
120
【加筆修正版】Laravel のアプリケーションをどこにデプロイするか #phpcon_ehime
akase244
0
150
When benchmarks go bad - what I learned from measuring performance wrong
hollycummins
0
200
Apple Intelligence を用いた個人情報誤送信防止、及びユーザーリクエスト体験の改善について
yukiny
0
320
プロダクトコードからライブラリの境界を見つける
elmetal
PRO
0
110
Findy - エンジニア向け会社紹介/Findy Company Deck
findyinc
6
400k
Featured
See All Featured
sira's awesome portfolio website redesign presentation
elsirapls
0
450
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
3.1k
A designer walks into a library…
pauljervisheath
211
25k
Tell your own story through comics
letsgokoyo
1
1.1k
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
1
510
Build your cross-platform service in a week with App Engine
jlugia
234
19k
Ruling the World: When Life Gets Gamed
codingconduct
0
390
How to build an LLM SEO readiness audit: a practical framework
nmsamuel
2
940
Building Flexible Design Systems
yeseniaperezcruz
330
41k
The Spectacular Lies of Maps
axbom
PRO
1
1.1k
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
1
620
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
1.1k
Transcript
A language made for Java developers @jerolba
[email protected]
None
None
Origen XPand
¿Y en mi IDE? SIN SOPORTE :(
pero.... ..siempre nos quedará:
Características •Es un DSL •Genera código Java, no bytecode •Es
100% compatible con Java •Usa todo el sistema de tipos de Java •Interoperable •Programación Funcional •Creación de DSLs
Desarrollo ClaseA.xtend ClaseA.java ClaseB.java Generación de código Compilación ClaseA.class ClaseB.class
App.war Empaquetado XTend Runtime (100KBs)
¿Por qué lo usaría? •Scala es muy complejo y curva
de aprendizaje elevada •Por las closures, no puedo esperar a la JDK8 •Excelente soporte del IDE •Mi plataforma destino tiene recursos limitados
Hola Mundo
Una clase Privado por defecto Constructor Declaración de método Todo
son expresiones Herencia simple Público por defecto ; opcional
Atributos Privado por defecto Tipo String inferido int inferido variable
final
Extension methods I
Extension methods II
Extension Fields
@Property
Lambdas X X
Funciones Primera Clase Cachis! f(value)
Un poco más sencillo Cachis! f(value)
Un poco más funcional!
Funciones parciales
Test de aceptación
Gracias! • XTend • Documentación • Google Group • JNairo
• 20 Facts about Xtend • http://c.funius.com/xtend