Slashdot Mirror


Eclipse Launches New Programming Language

An anonymous reader writes "Eclipse has launched a website for a new JVM language, called Xtend. It's built with Eclipse's Xtext and compiles directly to Java code, similar to what CoffeeScript does to Javascript. It's not just an announcement but it's already there and useable, including a very feature-rich Eclipse integration."

1 of 238 comments (clear)

  1. Re:I like it by onefriedrice · · Score: 3, Interesting

    And leads to extremely bad code. Goto has the same thing - it can be extremely powerful, but overusing it leads to really bad code.

    It's not so much about overuse. Rather, it's the misuse of macros and gotos (and any other coding construct) that can lead to bad code. Macros and gotos get a bad rap because they get misused more often than other constructs, mostly by those who are really new to programming. When used appropriately, these constructs can make code more readable and easier to maintain. It's too bad that so many students are being taught to avoid gotos at all cost; better to teach them when gotos can be used to good effect.

    --
    This author takes full ownership and responsibility for the unpopular opinions outlined above.