3 ms·
> There are definitely languages where you could easily differentiate between a "length-int" and a "coordinate-int" in the type system Python, via the shared p
by dragonwriter 5y ago
> There are definitely languages where you could easily differentiate between a "length-int" and a "coordinate-int" in the type system
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.