this post was submitted on 16 May 2025
707 points (99.2% liked)

Programmer Humor

23507 readers
1053 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 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] Shawdow194@fedia.io 98 points 1 week ago (33 children)

The joke is always Javascript

[–] Blue_Morpho@lemmy.world 65 points 1 week ago (32 children)

JavaScript itself is fine. The problem is developers who import a library to add two numbers.

[–] TheGalacticVoid@lemm.ee 33 points 1 week ago (2 children)

Maybe we wouldn't need external libraries to do basic things if JavaScript had a standard library

[–] jaybone@lemmy.zip 9 points 1 week ago

What is this crazy talk??

[–] mindbleach@sh.itjust.works 5 points 1 week ago (1 children)

The thing you want from jQuery was added to all browsers in 2018.

[–] vithigar@lemmy.ca 3 points 1 week ago (1 children)

I'm currently on a crusade against lodash where I work.

[–] mindbleach@sh.itjust.works 1 points 1 week ago (1 children)

Lodash provides modular methods for working with arrays, objects, strings, and more.

I dunno. If it makes everything Array-like act like a goddamn Array, I'm tempted to start using it.

'What do you mean you can't .map a Set? It's iterable! Figure it out!'

[–] vithigar@lemmy.ca 3 points 1 week ago

You can though? mySet.values().map(mappingFunc) will create a new iterator transformed by the mapping function.

load more comments (29 replies)
load more comments (29 replies)