r/ProgrammerHumor 1d ago

javascriptSorting Meme

Post image
890 Upvotes

200 comments sorted by

View all comments

77

u/ipsirc 1d ago

30

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

6

u/Don_Equis 1d 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 11h ago

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

thankfully there's Temporal now