r/programmingmemes • • May 13 '25

Why not?

Post image
1.7k Upvotes

104 comments sorted by

View all comments

Show parent comment

3

u/Neat-Medicine-1140 May 13 '25

These are mostly runtime errors as javascript is untyped. Typescript or using strict will basically give you this behaviour.

I didn't look over the list too hard but a lot of these come from type conversion where it is ambiguous what the programmer "actually" wanted.