Hacker News new | ask | show | jobs
by Stuk 5423 days ago
So the differences between this and Javascript that I can see are:

    * ^ replacing function
    * default values for arguments, ^(x: 4){...}
    * print instead of console.log
    * array slicing x[1:3], x[:-2]
    * embedded HTML, div = <div/>
Interesting, but this isn't convincing enough for me to use it.

Edit: like beaumartinez says, the Github page explains the differences much better than the site: https://github.com/rsms/move

1 comments

Also implicit variable scoping. And does not (as far as I can see) facilitate properties creation, nor does it implement tuple unpacking/multiple return values, and positional v keyword arguments use completely different syntaxes (not sure if you can even mix them).

Overall, seems very half-assed, a few cosmetic changes (half of them making the language worse instead of better) and that's about it.