6 comments

[ 3.2 ms ] story [ 29.7 ms ] thread
Evokes thoughts of the Internet's very first foray into annoying marketing campaigns.
1 //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.

Our 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.)

I never thought I'd hear myself say that Java looked a little bit elegant.
They named a language after a home security protocol? Perhaps this wasn't particularly wise.