3 ms·
JS is both
by 11235813213455 3y ago
JS is both
- meowtimemania 3y agoI also enjoy the simplicity of JS. Pros: * Being single threaded makes concurrency simple. No need to think about mutex/semafor/channel/etc. * Everything is a pointer so no debate on whether to use pointer vs value for variable * Not to many reserved keywords to learn before being able to write javascript * I like async/await Cons: * Tiny standard library * Very little standardization between projects * JS is often compiled/minified which can make debugging painful * Not so performant. Can't do true concurrency
- rplnt 3y agoJS is anything but simple.
- 11235813213455 3y agogetting started is simple, it's abundant in resources, libs but what's more complex is this laguage should be backward-compatible to not break the web, so there are often 3+ ways to do the same thing