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
150
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 Augmentation Techniques with Liberty
ivargrimstad
1
400
Kawaiicon: Kubernetes, it's no longer cool, but let's secure it anyway!
barnbarn
0
120
Python Lambdaにおけるテストしやすい設計とAI支援の活用 / Designing Testable Python Lambda Functions with AI
kitano_yuichi
1
300
AI駆動開発4年目の現在地(『あなたはFDEになるべきか?』イベント資料)
kumaiu
0
310
複数ドメインを一つのアプリに統合するFlutterの設計と運用_FlutterKaigi2026登壇資料(須永高弘)
takahirosunaga
0
160
Lambda durable functionsでHuman in the Loopを楽に…楽に……
har1101
2
290
DroidKnights 2026 Android A2UI Jetpack Compose 기반의 안전한 AI UI 렌더링 - 박제창
itsmedreamwalker
1
200
AI時代のFlutter品質設計 — アプリ品質を守るQuality Layers
omatty198
0
360
React Native経験者が Flutterを30⽇間触って驚いたこと
3saito
0
160
オーケストレーション記述言語 Katari
yukikurage
0
240
全ての永続トークンを、生まれる前に消し去りたい!
sylph01
3
1.7k
エージェントを使い続けるためのメタワーク / Meta-work for keeping using the agent
rkaga
6
2.2k
Featured
See All Featured
Fantastic passwords and where to find them - at NoRuKo
philnash
53
4k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
20k
Heart Work Chapter 1 - Part 1
lfama
PRO
10
37k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1.4k
Un-Boring Meetings
codingconduct
0
490
Facilitating Awesome Meetings
lara
57
7.2k
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
2.2k
Digital Ethics as a Driver of Design Innovation
axbom
PRO
1
510
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
350
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
2
1.9k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
230
23k
Why Our Code Smells
bkeepers
PRO
340
58k
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