News for hackers. Stuff that matters.
Re:Move Lang by bergie on Monday March 14, 2011 @05:19AM (#2321839)
The CoffeeScript example would be:

    for number in [1..3]
        console.log "Hello, John"
Again, quite a bit simpler than Move. And runs everywhere with a browser :-)

...and if you want to do it exactly as in the example, then:

    hello = (name) -> "Hello, #{name}"
    for number in [1..3]
        console.log hello("John")

There are no comments on this comment yet.