News for hackers. Stuff that matters.
Re:Parcel: Fast, zero configuration web application bundler by crooked-v on Tuesday July 17, 2018 @02:25AM (#17547719)
That's the result of JS lacking anything resembling a standard library. Just look at how long it took just for Object.entries to make its way into the language.
Re:Parcel: Fast, zero configuration web application bundler by nostalgeek on Tuesday July 17, 2018 @03:03AM (#17547876)
This is both an education issue and a std lib issue. There is no need for packages such as "is-number" or "is-odd" when the language already provides the facilities it check if a value is a number or is even/odd, yet these packages are downloaded a thousand times a a day because they are dependencies in this or that popular package.

For some the first reflex is to add a dependency instead of spending 5 minutes thinking of simple solutions for their use case. But the latter isn't restricted to the node ecosystem.

The avalanche of useless modules profits mainly to NPM, a for profit organisation operating a closed source package repository which imposed itself on the node project in dubious ways. Even nodejs creator regrets it.