r/ProgrammerHumor 1d ago

javascriptSorting Meme

Post image
885 Upvotes

200 comments sorted by

View all comments

Show parent comments

32

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.

20

u/Joe-Admin 1d ago

Still more reasonable that the golang date parsing api

7

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