this post was submitted on 31 Jul 2024
737 points (99.3% liked)

Programmer Humor

19570 readers
1546 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] EnderMB@lemmy.world 191 points 3 months ago (27 children)

I've honestly never understood why someone at Google or Mozilla hasn't decided to write a JavaScript Standard Library.

I'm not opposed to NPM, because dumb shit like this happens everywhere. If such a package is used millions of times a day, perhaps it would make sense to standardise it and have it as part of the fucking browser or node runtime...

[–] SpaceCadet@feddit.nl 51 points 3 months ago (1 children)

I’ve honestly never understood why someone at Google or Mozilla hasn’t decided to write a JavaScript Standard Library.

[–] BlackRoseAmongThorns@slrpnk.net 4 points 3 months ago (1 children)

This picture honestly looks more like C++ than JS, and before you yell at me, JS doesn't have any standards let alone competing standards so ¯⁠\⁠_⁠(⁠ツ⁠)⁠_⁠/⁠¯

[–] stetech@lemmy.world 1 points 2 months ago (1 children)

JS doesn't have any standards

ECMAScript would like to have a word with you.

If however by “doesn’t have any standards” you meant it’s willing to sink to new low grounds every day, you would be correct.

[–] BlackRoseAmongThorns@slrpnk.net 2 points 2 months ago

The latter, and the underutilization of the fact that the standard library exists, and consequently the existence of so many micro dependencies.

load more comments (25 replies)