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
XTend: A language made for Java developers
Search
MadridJUG
October 15, 2012
Programming
380
0
Share
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
310
Introducción a la minería de datos con R y WEKA
madridjug
0
760
REST para móviles en tiempo real: trabajando al milisegundo
madridjug
0
150
Rapid and Reliable Developing with HTML5 & GWT
madridjug
1
190
Reflection Madness (contenidos de Java Specialist)
madridjug
2
120
JBoss Forge 101
madridjug
2
160
Lessons learned with Akka
madridjug
1
160
Gestión de gemas y jars en JRuby con Maven
madridjug
0
110
Other Decks in Programming
See All in Programming
開発とはなにか、Essenceカーネルで見えるもの
ukin0k0
0
170
20260514 - build with ai 2026 - build LINE Bot with Gemini CLI
line_developers_tw
PRO
0
450
Agentic AI & UI: Arcitecture, HITL, Emerging Standards
manfredsteyer
PRO
0
100
Agentic UI in the Frontend: Architectures with Open Standards @JAX 2026 in Mainz
manfredsteyer
PRO
0
110
Cloudflare で始める Data Platform
ta93abe
0
150
実践ハーネスエンジニアリング:ステアリングループを実例から読み解く / Practical Harness Engineering: Understanding Steering Loops Through Real-World Examples
nrslib
5
5.5k
Kubernetesを使わない環境にもCloud Nativeなデプロイを実現する / Enabling Cloud Native deployments without the complexity of Kubernetes
linyows
3
400
Surviving Black Friday: 329 billion requests with Falcon!
ioquatix
0
3.1k
実用!Hono RPC2026
yodaka
2
310
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
350
空間オーディオの活用
objectiveaudio
0
150
AlarmKitで明後日起きれるアラームアプリを作る
trickart
0
140
Featured
See All Featured
Building Better People: How to give real-time feedback that sticks.
wjessup
370
20k
The Spectacular Lies of Maps
axbom
PRO
1
750
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
62
54k
Building a Scalable Design System with Sketch
lauravandoore
463
34k
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
10k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
231
23k
Building the Perfect Custom Keyboard
takai
2
760
Bash Introduction
62gerente
615
210k
Become a Pro
speakerdeck
PRO
31
5.9k
GraphQLとの向き合い方2022年版
quramy
50
15k
Visualization
eitanlees
151
17k
Raft: Consensus for Rubyists
vanstee
141
7.4k
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