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
0
370
XTend: A language made for Java developers
MadridJUG
October 15, 2012
Tweet
Share
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
300
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
140
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
100
Other Decks in Programming
See All in Programming
Kotlin Multiplatform Meetup - Compose Multiplatform 외부 의존성 아키텍처 설계부터 운영까지
wisemuji
0
190
AIエージェント、”どう作るか”で差は出るか? / AI Agents: Does the "How" Make a Difference?
rkaga
4
2k
AI時代の認知負荷との向き合い方
optfit
0
140
Architectural Extensions
denyspoltorak
0
270
20260127_試行錯誤の結晶を1冊に。著者が解説 先輩データサイエンティストからの指南書 / author's_commentary_ds_instructions_guide
nash_efp
0
890
登壇資料を作る時に意識していること #登壇資料_findy
konifar
3
920
Honoを使ったリモートMCPサーバでAIツールとの連携を加速させる!
tosuri13
1
170
CSC307 Lecture 04
javiergs
PRO
0
650
Oxlint JS plugins
kazupon
1
600
AIで開発はどれくらい加速したのか?AIエージェントによるコード生成を、現場の評価と研究開発の評価の両面からdeep diveしてみる
daisuketakeda
1
970
AI Agent Tool のためのバックエンドアーキテクチャを考える #encraft
izumin5210
6
1.8k
IFSによる形状設計/デモシーンの魅力 @ 慶應大学SFC
gam0022
1
300
Featured
See All Featured
Thoughts on Productivity
jonyablonski
74
5k
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
9.5k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
2.7k
The #1 spot is gone: here's how to win anyway
tamaranovitovic
2
920
What’s in a name? Adding method to the madness
productmarketing
PRO
24
3.9k
sira's awesome portfolio website redesign presentation
elsirapls
0
140
Joys of Absence: A Defence of Solitary Play
codingconduct
1
290
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
117
110k
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
96
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
61k
[RailsConf 2023] Rails as a piece of cake
palkan
59
6.3k
How to make the Groovebox
asonas
2
1.9k
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