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
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
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
150
Gestión de gemas y jars en JRuby con Maven
madridjug
0
110
Other Decks in Programming
See All in Programming
The Less-Told Story of Socket Timeouts
coe401_
3
640
Oxlintとeslint-plugin-react-hooks 明日から始められそう?
t6adev
0
280
〜バイブコーディングを超えて〜 チームで実験し続けたAI駆動開発
tigertora7571
0
170
Angular Signal Forms
debug_mode
0
120
t *testing.T は どこからやってくるの?
otakakot
1
710
GNU Makeの使い方 / How to use GNU Make
kaityo256
PRO
16
5.6k
Running Swift without an OS
kishikawakatsumi
0
850
iOS機能開発のAI環境と起きた変化
ryunakayama
0
190
Cache-moi si tu peux : patterns et pièges du cache en production - Devoxx France 2026 - Conférence
slecache
0
310
AIエージェントで業務改善してみた
taku271
0
540
GoogleCloudとterraform完全に理解した
terisuke
1
160
PHPer、Cloudflare に引っ越す
suguruooki
1
110
Featured
See All Featured
Information Architects: The Missing Link in Design Systems
soysaucechin
0
900
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
1
360
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
1
1.2k
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
2
190
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
430
Are puppies a ranking factor?
jonoalderson
1
3.3k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
jQuery: Nuts, Bolts and Bling
dougneiner
66
8.4k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
Ethics towards AI in product and experience design
skipperchong
2
260
How to build an LLM SEO readiness audit: a practical framework
nmsamuel
1
730
GitHub's CSS Performance
jonrohan
1032
470k
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