3 ms·
X10: a new object-oriented, type-safe programming language
- Scriptor 16y agoThe pages for the tutorial at http://x10-lang.org/ http://x10-lang.org/ are in HTML, but they still force a file download.
- ax0n 16y agoEvokes thoughts of the Internet's very first foray into annoying marketing campaigns.
- quesera 16y ago1 //Tutorial file HelloWorld.x10 2 class HelloWorld { 3 public static def main(argv:Rail[String]) { 4 x10.io.Console.OUT.println("Hello, World"); 5 } 6 } ...ayfkm? You've already failed.
- Tiomaidh 16y agoOur first attempt won't work. ... public static def main(argv:Rail[String]) { This line is just the same as in the Hello, World example. (In fact, the Hello, World example had a latent version of the same bug. It compiled because we never tried to do anything with argv, and thus never tried to do anything that violated the place rules with it.)
- Tiomaidh 16y agoI never thought I'd hear myself say that Java looked a little bit elegant.
- SeanLuke 16y agoThey named a language after a home security protocol? Perhaps this wasn't particularly wise.