Hacker News new | past | comments | ask | show | jobs | submit login

Python uses dynamic typing by design. Removing it would remove one of it strengths (and weaknesses as some insist). It is one of the things that made Python so successful. We have learned over time that adding mypy to the pre-commit hooks is a good thing, but I think that's where we should stop. Give devs an option, but don't force it upon them.



I think you could also argue for some sort of setting that adds additional optimisations based on type hints, but it would have to default to off.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: