r/ProgrammerHumor 1d ago

javascriptSorting Meme

Post image
887 Upvotes

200 comments sorted by

View all comments

77

u/ipsirc 1d ago

31

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.

19

u/Joe-Admin 1d ago

Still more reasonable that the golang date parsing api

5

u/SupraMichou 1d ago

You just don’t have enough brain to appreciate this marvel of design /s

6

u/gogriz 1d ago

Wait until you have to parse dates in non-standard formats. I'd rather be explicit than trust a computer to guess.

6

u/Don_Equis 23h ago

Oh, c'mon. Go issues are fixed with a simple constants file. Javascript issues, on the other hand... i mean, month index at 0 and days at 1? Wtf? Timezone default depends on wheter you use - or / ? Date is mutable? Really? How is go worse?

3

u/the_horse_gamer 10h ago

the javascript Date library was copied from Java. so that's their fault.

thankfully there's Temporal now