官术网_书友最值得收藏!

Chapter 3. Working with the Xtend Programming Language

In this chapter, we will introduce the Xtend programming language, a fully featured general purpose Java-like language that is completely interoperable with Java. Xtend has a more concise syntax than Java and provides powerful features such as type inference, extension methods, dispatch methods, and lambda expressions, not to mention multiline template expressions, which are useful when writing code generators. All the aspects of a DSL implemented in Xtext can be implemented in Xtend instead of Java, since it is easier to use and allows you to write better readable code. Since Xtend is completely interoperable with Java, you can reuse all the Java libraries. Moreover, all the Eclipse JDT (Java Development Tools) will work with Xtend seamlessly.

This chapter will cover the following topics:

  • An introduction to the Xtend programming language
  • A description of the main features of Xtend, which we will use throughout the book
主站蜘蛛池模板: 莱州市| 康马县| 集贤县| 北京市| 新化县| 昂仁县| 康马县| 米易县| 西吉县| 疏勒县| 江阴市| 庆云县| 大同市| 侯马市| 华亭县| 东辽县| 密云县| 霍州市| 宝鸡市| 德江县| 霍山县| 聂荣县| 宜州市| 海宁市| 荃湾区| 滨州市| 巍山| 彭山县| 长乐市| 阳山县| 扎赉特旗| 伊川县| 宣威市| 义乌市| 株洲市| 宜川县| 台东县| 朔州市| 穆棱市| 潮州市| 蓬莱市|