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
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
MadridJUG
October 15, 2012
Programming
390
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
540
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
[ハンズオン]AIへの指示だけで「五目並べ」を作ってみよう
satoshi256kbyte
1
380
Starting & Sustaining Code-Based E2E Testing for Non-Coding QA Teams( #jasstniigata )
teyamagu
PRO
1
990
contenteditable と日本語入力に向き合う
colorful12
0
200
JIS keyboard support in Omarchy
lef237
0
110
Kotlinの15年とServer-Side Kotlin
n_takehata
1
150
AI主導のプログラミング学習アプリを作ってみた
econanringo
0
180
Unity6 URPによる海底をテーマにしたVJシステムの解説 | Unity Shader 完全に理解した 勉強会
gam0022
0
370
Web Framework Benchmark Battle 2026, Any%
a_matsuda
2
1.4k
3回つくってわかった、 定期実行ジョブ基盤の本質情報
takai
0
350
気持ちぃ〜角丸 Squircle
ryu1013
0
300
re:Inventに行く前に知っておきたい現地参加のノウハウ
nokomoro3
0
420
速習iPhone Duo対応
yuukiw00w
2
990
Featured
See All Featured
Discover your Explorer Soul
emna__ayadi
2
1.3k
Building Flexible Design Systems
yeseniaperezcruz
330
41k
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
6
1.2k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
33
5.2k
Believing is Seeing
oripsolob
1
240
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
480
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
710
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
2
530
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
520
30 Presentation Tips
portentint
PRO
1
430
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
410
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