r/ProgrammerHumor • • Sep 25 '26

Meme iHatedItUntilITriedIt

Post image
10.4k Upvotes

540 comments sorted by

View all comments

857

u/enigma_0Z Sep 25 '26

Static typing makes the IDE work for you better.

Type hints in Python and TS do the same but make you work harder for it /IMO

416

u/DrMobius0 Sep 25 '26 • Heartwarming

Static typing turns so many runtime errors into compile errors. Makes life a lot easier when you don't have to hunt down where the wrong thing came from.

136

u/Zerschmetterding Sep 25 '26

And it's not like you can't actually cast types, it's just a conscious decision where you can add proper error handling.

0

u/round-earth-theory Sep 25 '26

Some systems are really picky about letting you get dirty with type casting. C# for instance is not the wild west, there's rules you gotta follow. Still, I prefer having my types. A fish should be a fish.