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
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
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
320
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
170
Lessons learned with Akka
madridjug
1
170
Gestión de gemas y jars en JRuby con Maven
madridjug
0
110
Other Decks in Programming
See All in Programming
JJUG CCC 2026 Spring: JSpecify で実現する Kotlin フレンドリーな Java API 設計
ternbusty
1
130
Inside Stream API
skrb
1
620
Spec-Driven Development with AI-Agents: From High-Level Requirements to Working Software
antonarhipov
2
440
次世代リンターで探る、tsgo 時代における型認識カスタムルールの現実解
ytakahashii
3
1.4k
CSC307 Lecture 17
javiergs
PRO
0
310
Oxlintのカスタムルールの現況
syumai
5
980
運用エージェントは "作る" から "育てる" へ - 記憶と自己進化の3層設計パターン / self-evolving-agents-three-layer-agent-design
gawa
12
3.4k
Java × distroless で 軽量なコンテナイメージを / Java on Distroless
contour_gara
0
470
セキュリティの専門家じゃなくてもできる。「セキュリティ意識」をアップデートして サプライチェーン攻撃への耐性を高めよう。
tk3fftk
5
580
The NotImplementedError Problem in Ruby
koic
1
380
TSKaigi Night Talks 2026_TypeScriptでサプライチェーンの整合性を型に閉じ込める
geekplus_tech
0
200
New "Type" system on PicoRuby
pocke
1
430
Featured
See All Featured
The Mindset for Success: Future Career Progression
greggifford
PRO
0
350
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
280
Imperfection Machines: The Place of Print at Facebook
scottboms
270
14k
How to train your dragon (web standard)
notwaldorf
97
6.7k
Game over? The fight for quality and originality in the time of robots
wayneb77
1
190
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
0
310
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
300
A Soul's Torment
seathinner
6
2.9k
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
320
Crafting Experiences
bethany
1
160
Six Lessons from altMBA
skipperchong
29
4.3k
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
1
370
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