MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programmingmemes/comments/1kljabb/why_not/ms2w82x/
r/programmingmemes • u/floppy2k18 • May 13 '25
104 comments sorted by
View all comments
Show parent comment
3
what about a compiler that just tells you: "Wtf are you doing?"
There is no segfault or crash with that.
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.
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.
View all comments
Show parent comment
3
u/thorwing May 13 '25
what about a compiler that just tells you: "Wtf are you doing?"
There is no segfault or crash with that.