4 ms·
So the differences between this and Javascript that I can see are: * ^ replacing function * default values for arguments, ^(x: 4){...} * print inst
by Stuk 15y 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 https://github.com/rsms/move
- masklinn 15y agoAlso 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.