Hacker News new | ask | show | jobs
by setr 2083 days ago
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
1 comments

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