Hacker News new | ask | show | jobs
by nextlevelwizard 831 days ago
except nothing enforces your types at run time, you can have typi hints all you want and everyone else cn ignore them
2 comments

Same exists with laws. And in most languages if I want to avoid the type system and hand you a goldfish instead of an int, I can. It just may take more effort. Other language will blow up too if you hand them strange things. Just like python those languages have ways to verify you're not passing goldfish, You just may need more or less effort to use them
Thats a lot of words for: yeah, you are right
A lot of words for "yes, but all languages have this problem." The amount of effort to break the type system is the only difference.
any type safe lnguage will indeed "blow up" while python just continues and you dont get as much as a warning. you are wrong take the L
Everyone else can ignore every coding guideline your team sets up, that’s why code reviews and managers exist.