News for hackers. Stuff that matters.
Re:Today’s JavaScript trash fire and pile on by crooked-v on Monday November 26, 2018 @03:58PM (#18536737)
We don't need a standard library, they said. Letting basic functionality be spread out through a hundred thousand separate packages is fine, they said...
Re:Today’s JavaScript trash fire and pile on by tracker1 on Monday November 26, 2018 @05:56PM (#18537621)
There is a standard library... what comes in Node, or what comes in the Browser... anything beyond that is non-standard. I'm not sure where your problem is here. It's true of any other platform on the planet, some things are in the box, others are not.
Re:Today’s JavaScript trash fire and pile on by idle_zealot on Monday November 26, 2018 @07:10PM (#18538027)
The complain is that Node/the browser's "box" is too small. OP wants a "batteries included" standard library.

If size/resource consumption is a concern, the library could be broken up and `import`ed as necessary now that modules are a thing. Whatever standards body that chooses to implement this wouldn't even need tot worry about breaking old code and name collisions, as it could all be opt-in.

Re:Today’s JavaScript trash fire and pile on by olliej on Monday November 26, 2018 @04:28PM (#18536948)
what would you put in the standard library? Specifically remembering that if it’s part of the standard library it has to be present in all JS environments.
Re:Today’s JavaScript trash fire and pile on by ajurna on Tuesday November 27, 2018 @04:16AM (#18540801)
how about left-pad?