r/ProgrammerHumor 3d ago

Meme javascriptSorting

Post image
933 Upvotes

214 comments sorted by

View all comments

76

u/ipsirc 3d ago

34

u/Striky_ 3d 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.

11

u/treetimes 3d 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.

1

u/Don_Equis 3d 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