Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
XTend: A language made for Java developers
Search
MadridJUG
October 15, 2012
Programming
400
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
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
550
Gradle: un moderno sistema de build para la JVM
madridjug
2
330
Introducción a la minería de datos con R y WEKA
madridjug
0
790
REST para móviles en tiempo real: trabajando al milisegundo
madridjug
0
160
Rapid and Reliable Developing with HTML5 & GWT
madridjug
1
210
Reflection Madness (contenidos de Java Specialist)
madridjug
2
140
JBoss Forge 101
madridjug
2
170
Lessons learned with Akka
madridjug
1
190
Gestión de gemas y jars en JRuby con Maven
madridjug
0
120
Other Decks in Programming
See All in Programming
TanStack Vue Query と Pinia Colada から学ぶ非同期状態の型設計
aoshi
0
580
graphql-ruby を Spinel で速くしようとした話
mtsmfm
0
140
社内AIエージェント「Askワンバン」における コストチューニングの取り組み
t0yohei
0
120
AmebaブログはKMPから卒業します
kmars0605
0
310
Spec-driven Development with AI
simas
PRO
0
2.2k
golang-bob.pdf
iwatsukayura
0
160
Coding with AI: How to trust the storyteller (AWS Community Day Adria, Ljubljana 2026)
slobodan
0
130
Performance Optimization With LLMs
xleitix
0
230
TS 7.0 で baseUrl が使えなくなった今、パスエイリアスをどうするか
bicstone
2
350
[Dev Group Paris Octobre 26] Agentforce, SIforce, Claudeforce, Slackbot… on s'y retrouve ?
nabondance
0
130
HTML-in-Canvasで作る未来のWeb UI表現
clockmaker
5
6.1k
선언형 햅틱 라이브러리 진동을 소개합니다
l2hyunwoo
1
250
Featured
See All Featured
Site-Speed That Sticks
csswizardry
13
1.6k
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
660
Building Applications with DynamoDB
mza
96
7.3k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.9k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
31k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
1k
Code Reviewing Like a Champion
maltzj
529
40k
We Are The Robots
honzajavorek
0
420
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
1
650
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
1
490
B2B Lead Gen: Tactics, Traps & Triumph
marketingsoph
1
300
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