Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
gparral334y@10Dev then again with is-promise https://zdnet.com/article/...
Still love to work with JS, now I usually double check the libraries I use and hope for the best 😂 -
iiii90854ynope. no. nopity no. nada. nein.
being a virtual machine does not make anything better. we've learned that with Java already. -
except that's not js's achiement, but all of the people who wrote all of the interpreters for various platforms
-
@Midnight-shcode Nothing is js's achievement, as it isn't a being. It's all thanks to the people who created it, and the tools leading up to its creation.
-
@iiii Java also does great in this sense. The fact that it requires a lot of boilerplate has nothing to do with the VM.
-
theuser47814yA notable exception is node-gyp. Sometimes it will bite you in the arse on specific platforms.
-
@theuser yes but node-gyp is the bridge between native and node. One end of that bridge gotta be on the far side.
-
iiii90854y@Lor-inc javascript should remain a domain only language: for doing small things in browser. Broadening its domain was a grave mistake for the industry.
-
@iiii obviously, in order to do so we needed
- a way to distribute modules with minimal effort so tools can evolve faster (NPM and co)
- a set of overhauls (ES)
- all sorts of optimizers and bundlers (webpack)
- compatibility and polyfilling tools (babel)
- better languages built on top (ts)
- an alternative when you really need speed (wasm)
- frameworks to provide the missing half STL and some kind of structure
Language design is but a part of developer experience and JS is really making up for it with everything else.
Related Rants
One thing JS does great is that everything from the server to the gui to the (extremely flexible) build system is 100% platform independent with very few platform specific bugs. And that's a big deal when a basic setup is 1200 packages from 650+ semi-coordinated people.
rant
nodejs
babel
npm
react
webpack
ts
platform-independence