Skip to content
vladdu edited this page May 9, 2012 · 1 revision

Xtend

Of course, the main language we use is Java, there's no escape there. But the Xtext team has implemented and is distributing a language that they promote as "a cleaner Java", Xtend, which is now a full Eclipse project.

I find it very useful, especially as it allows a functional and terse way to write code. Unless we are stumbling on some problems with it, I recommend to use it wherever reasonable. It compiles to Java source code, so it is fully interoperable with the parts written in Java.

The only issue I have with it is that there is no command in the editor to do a basic conversion from Java, it should be relatively easy to automate the parts that are tedious (removing semicolons, for example). Maybe in the next release...

Clone this wiki locally