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

Programmer Humor

19564 readers
818 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
[–] [email protected] 193 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...

[–] [email protected] 51 points 3 months ago (3 children)

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

[–] [email protected] 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 ¯⁠\⁠_⁠(⁠ツ⁠)⁠_⁠/⁠¯

[–] [email protected] 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.

[–] [email protected] 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 (1 replies)
load more comments (24 replies)