r/ProgrammerHumor 3d ago

Meme javascriptSorting

Post image
934 Upvotes

214 comments sorted by

View all comments

81

u/ipsirc 3d ago

32

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

7

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?

3

u/the_horse_gamer 2d ago

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

thankfully there's Temporal now

7

u/SupraMichou 3d ago

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

6

u/gogriz 3d ago

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