Java with spice!


Xtend is a flexible and expressive dialect of Java, which compiles into readable Java 8 compatible source code. You can use any existing Java library seamlessly. The compiled output is readable and pretty-printed, and tends to run as fast as the equivalent handwritten Java code.

Get productive and write beautiful code with powerful macros, lambdas, operator overloading and many more modern language features.

  • “I love Xtend and use it as much as possible.” (Meinte Boersma)
  • “Xtend is a wonderful language for improving the developer experience.” (Salvatore Romeo)
  • “I am loving Xtend, and I wanted to say thanks.” (Jacob Goodson)
  • “It's very comfortable to work with Xtend.” (Ross Judson)
  • “Xtend rocks and I love using it :-)” (Christian Vogel)
  • “I love the expressiveness in Xtend and the ability to write cleaner code.” (Jesper Eskilson)
  • “I love it!” (Francois Green)
  • “Having idiomatic Java generated by the compiler is a great safety net.” (Ross Judson)
  • “Xtend could be described as “Scala, the good parts“.” (Meinte Boersma)
  • “Xtend is awesome for Android Programming!” (Eugen)


Android

Android Development

Xtend works great on Android, as it doesn't produce additional runtime overhead. The very thin lib and the advanced support for code generation increase productivity while helping to keep your Android apps small.

Google Web Toolkit

Web Development

The Google Web Toolkit translates Java source code to fast Javascript code. Xtend makes typical GWT programming a joy. There are many nice examples and cool enhancements out there.

Java FX

Fast Learning Curve!

If you know Java, you will be productive with Xtend in a few hours. Xtend is an extension to Java, so you can reuse all your knowledge about tools and libraries. Also complicated language features like generics remain unchanged.

Eclipse

Advanced IDE Support

Static typing is not only important for early error detection but even more so for good IDE support. To ensure a great and holistic user experience, Xtend's IDE and language have been designed side by side. And of course the tools integrate seamlessly with the Eclipse Java IDE.

Java FX

Java 8 Ready

Xtend works well with Java 8 APIs as it does the same kind of target typing coercion for lambdas. With its additional syntactical flexibility, of course Xtend code looks much better than the equivalent Java 8 code. Here are some examples.

Java FX

XtendFX

UI programming in Java can be very tedious. Checkout the XtendFX project to see how you can get rid of Java boiler plate easily. It contains some very useful active annotations for automatically generating JavaFX properties.

AltStyle によって変換されたページ (->オリジナル) /