Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Static Duck Typing in Python with Protocols. Parent comment
Python, via the shared portion of the type system enforced by the major type checkers, is one of those languages.
The fact that a particular library doesn't choose to do this doesn't mean the type system doesn't fully support it.
There are no comments on this comment yet.
Python, via the shared portion of the type system enforced by the major type checkers, is one of those languages.
The fact that a particular library doesn't choose to do this doesn't mean the type system doesn't fully support it.