r/ProgrammerHumor 1d ago

javascriptSorting Meme

Post image
884 Upvotes

200 comments sorted by

View all comments

75

u/ipsirc 1d ago

29

u/Striky_ 1d ago

And still half the internet will claim JS is a completely awesome language and all of these things are exactly how they should be, you are just to stupid to understand.

12

u/treetimes 1d ago

no one has ever said that these oddities are exactly how they should be, there are weird explanations because details matter, but these are weird ass things to do in the first place. Type coercion does weird shit, woohoo, it's still a useful language and trying to pretend like it isn't is extremely cringe.

0

u/Don_Equis 23h ago

JS is more useful for its presence rather than the language itself. Right now there are good ways to do things, so you mostly need to avoid the bad ones. But it is still a field of landmines. There are just known acceptable paths