Eclipse launches Xtends, new language to address Java shortcomings
The Eclipse Foundation has silently release a latest language named Xtend, which, according to the member supported open source corporation, is intended to deal with the inadequacies in Java without substituting the popular programming language.
According to a recent online report, Xtend aims to generate addition decipherable code, to include features that Java requires but does not possess as well as to present a expedient substitute in circumstances wherein Java fails to shine.
Xtend is being shipped as a series of plug-ins to an Eclipse set up that is operating the Java Development Tools (JDT) from before. According to the developers, Xtend conforms to readable Java code, having sustenance for the well-known Eclipse Java IDE attributes, such as content assistance, syntax coloring, rename factoring and others.
In addition, Xrend sustains the static typing of Java, but generates ‘type inference’ to lessen the extent of severance in Java code. According to the Eclipse Foundation, plenty of the data recorded/ coded in a Java file is basically redundant from the technical point of view.
Meanwhile, the foundation claimed that Xtend supports direct accessibility to the properties of Java, enabling a further normal statement, such as person.name= ‘Foo’ to substitute person.setName (‘Foo’). Other features which Xtend includes in Java programming comprise closures, Template expressions, an additionally well-designed Switch expression and Extension methods.
Eclipse Foundation has depicted the library of Xtend as a slender layer on top of the JDK, which interrelate with Java precisely in the same manner as it networks with Xtend code.