5 ms·
When you look at what a mess the web is as a platform, 1,568 dependencies is a modest amount of asphalt to fill as many potholes as it does. In JavaScript land
by jstewartmobile 8y ago
When you look at what a mess the web is as a platform, 1,568 dependencies is a modest amount of asphalt to fill as many potholes as it does.
In JavaScript land, you need an external dependency for freaking left-pad[0]. In freer countries, that cutting-edge 1970s technology[1] is built-in.
[0] https://www.theregister.co.uk/2016/03/23/npm_left_pad_chaos/ https://www.theregister.co.uk/2016/03/23/npm_left_pad_chaos/
[1] https://stackoverflow.com/questions/293438/left-pad-printf-with-spaces https://stackoverflow.com/questions/293438/left-pad-printf-w...
- crooked-v 8y agoI agree. There's an effort to get at least a standard library namespace, but it's at month 8 of just deciding on the semantics of how to import: https://github.com/tc39/proposal-javascript-standard-library https://github.com/tc39/proposal-javascript-standard-library
- tasubotadas 8y agoOh, God. Finally, they have at least started talking about stdlib. It's bizarre how a modern language could exist without a standard lib.