9
lorentz
4y

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.

Comments
  • 3
    All the JS ecosystem is always on the edge of collapse but it is still worth it
  • 3
    @gparral Remember when left-pad was taken down from npm?

    https://qz.com/646467/...
  • 2
    @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 😂
  • 1
    nope. no. nopity no. nada. nein.

    being a virtual machine does not make anything better. we've learned that with Java already.
  • 1
    except that's not js's achiement, but all of the people who wrote all of the interpreters for various platforms
  • 2
    @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.
  • 0
    @iiii Java also does great in this sense. The fact that it requires a lot of boilerplate has nothing to do with the VM.
  • 0
    A notable exception is node-gyp. Sometimes it will bite you in the arse on specific platforms.
  • 1
    @theuser yes but node-gyp is the bridge between native and node. One end of that bridge gotta be on the far side.
  • 1
    Still flaming mess of glittery, painted excrement.
  • 0
    @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.
  • 0
    @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.
  • 0
    @Lor-inc making it overly complicated indeed.
Add Comment