Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Untyped Python: The Python That Was. Parent comment
> What I would love is a mode in python where instead of duck typing everything, its statically typed, unless I do a magical incantation.
You can do this with mypy, you can set it to require types everywhere.
There are no comments on this comment yet.
> What I would love is a mode in python where instead of duck typing everything, its statically typed, unless I do a magical incantation.
You can do this with mypy, you can set it to require types everywhere.