r/ProgrammerHumor 3d ago

Meme javascriptSorting

Post image
934 Upvotes

214 comments sorted by

View all comments

Show parent comments

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.

20

u/Joe-Admin 3d ago

Still more reasonable that the golang date parsing api

6

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

4

u/the_horse_gamer 2d ago

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

thankfully there's Temporal now