Blog
JavaFX + xtend an ongoing love
So I've already blogged (here and here) about the prefect match between JavaFX and Xtend. Now that those 2 got to know each other better their love grows even more because Xtend now has a with (=>) operator who frees you from writeing builder classes to create an object tree. So one can now write my initial example like this:
Isn't it wonderful if a couple is such a perfect match ;-) The only small problem with the new with operator is that the editor is having difficulties providing sensible autocompletion but I'm sure it's only a matter of time until the editor catches up (see bug 380537). Give xtend a try - you'll learn extremly fast how to use it if you know Java.