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

"Somehow they decided" is rooted in the desire to make typing optional, and absolutely not a requirement.



Wouldn't compiler selective enforcement achieve the same goal? It seems to me the difference is that other programs can be implemented to do the typechecking (eg mypy) rather than the compiler doing so itself


It lets you do things like `functools.singledispatchmethod`.




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

Search: