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
Sans tests, vos agents ne sont pas fiables
nabondance
0
140
Agent Skills を社内で育てる仕組み作り
jackchuka
1
2.2k
色即是空、空即是色、データサイエンス
kamoneggi
1
130
「OSSがあるなら自作するな」は AI時代も正しいか ── Build vs Adopt の新しい判断基準
kumorn5s
7
2.8k
Agentic Elixir
whatyouhide
0
460
inferと仲良くなる10分間
ryokatsuse
1
130
Kubernetesを使わない環境にもCloud Nativeなデプロイを実現する / Enabling Cloud Native deployments without the complexity of Kubernetes
linyows
3
430
PHPでバイナリをパースして理解するASN.1
muno92
PRO
0
460
AI Agent と正しく分析するための環境作り
yoshyum
2
550
なぜあなたのコードには「コシ」がないのか?〜AI時代に問う、最後まで美味しい設計と戦略〜 #phpconkagawa / phpconkagawa2026
shogogg
0
210
ECR拡張スキャンでSBOMを収集して サプライチェーン攻撃の影響調査を 爆速で終わらせてみた
akihisaikeda
1
170
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
440
Featured
See All Featured
The Spectacular Lies of Maps
axbom
PRO
1
750
The World Runs on Bad Software
bkeepers
PRO
72
12k
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
700
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
61
44k
Writing Fast Ruby
sferik
630
63k
The Language of Interfaces
destraynor
162
26k
Evolving SEO for Evolving Search Engines
ryanjones
0
200
The SEO identity crisis: Don't let AI make you average
varn
0
460
Large-scale JavaScript Application Architecture
addyosmani
515
110k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.8k
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
2
200
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
2.7k
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