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
0
380
XTend: A language made for Java developers
MadridJUG
October 15, 2012
Tweet
Share
More Decks by MadridJUG
See All by MadridJUG
Introducción a Scala
madridjug
3
530
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
750
REST para móviles en tiempo real: trabajando al milisegundo
madridjug
0
140
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
150
Gestión de gemas y jars en JRuby con Maven
madridjug
0
110
Other Decks in Programming
See All in Programming
AI活用のコスパを最大化する方法
ochtum
0
260
20260315 AWSなんもわからん🥲
chiilog
2
170
Claude Codeログ基盤の構築
giginet
PRO
7
3.5k
米国のサイバーセキュリティタイムラインと見る Goの暗号パッケージの進化
tomtwinkle
2
630
エンジニアの「手元の自動化」を加速するn8n 2026.02.27
symy2co
0
170
社内規程RAGの精度を73.3% → 100%に改善した話
oharu121
13
8.2k
ふつうの Rubyist、ちいさなデバイス、大きな一年
bash0c7
0
1.1k
車輪の再発明をしよう!PHP で実装して学ぶ、Web サーバーの仕組みと HTTP の正体
h1r0
2
240
AIに任せる範囲を安全に広げるためにやっていること
fukucheee
0
150
今からFlash開発できるわけないじゃん、ムリムリ! (※ムリじゃなかった!?)
arkw
0
130
Cyrius ーLinux非依存にコンテナをネイティブ実行する専用OSー
n4mlz
0
230
コーディングルールの鮮度を保ちたい / keep-fresh-go-internal-conventions
handlename
0
220
Featured
See All Featured
The agentic SEO stack - context over prompts
schlessera
0
700
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.3k
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
61
43k
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
75
How to Ace a Technical Interview
jacobian
281
24k
My Coaching Mixtape
mlcsv
0
82
Exploring anti-patterns in Rails
aemeredith
2
290
How to Talk to Developers About Accessibility
jct
2
160
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
230
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
280
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
150
Facilitating Awesome Meetings
lara
57
6.8k
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