There’s no claim to be as easy as javascript to write.
Rusts “difficulty” stems from its single ownership model, and this model is “different” not “easier”.
Rusts “difficulty” stems from its single ownership model, and this model is “different” not “easier”.
JS has plenty of bad parts you shouldn't use. Classes are the main one.
return
{ ... }
And JS helpfully inserted a semi-colon after returnThis is a feature you need to know about and you have to go out of your way not to get rekt by it
This isn't meant to be an attack on javascript as a worthwhile tool to learn, by the way, just a testament to the fact that it's not an easy language to master in the slightest.