← Back to context Comment by setopt 4 months ago > A type is a contract, not a hint!In Python it is a hint. 5 comments setopt Reply rurban 4 months ago Exactly. That was their worst mistake ever setopt 4 months ago I agree. I use Beartype to get runtime type checks, but it shouldn’t be necessary. Some support for type checking, whether at byte compile time or runtime, should land upstream. almostgotcaught 4 months ago Never gonna happen - the fundamental premise of the language is duck typing. 2 replies →
rurban 4 months ago Exactly. That was their worst mistake ever setopt 4 months ago I agree. I use Beartype to get runtime type checks, but it shouldn’t be necessary. Some support for type checking, whether at byte compile time or runtime, should land upstream. almostgotcaught 4 months ago Never gonna happen - the fundamental premise of the language is duck typing. 2 replies →
setopt 4 months ago I agree. I use Beartype to get runtime type checks, but it shouldn’t be necessary. Some support for type checking, whether at byte compile time or runtime, should land upstream. almostgotcaught 4 months ago Never gonna happen - the fundamental premise of the language is duck typing. 2 replies →
almostgotcaught 4 months ago Never gonna happen - the fundamental premise of the language is duck typing. 2 replies →
Exactly. That was their worst mistake ever
I agree. I use Beartype to get runtime type checks, but it shouldn’t be necessary. Some support for type checking, whether at byte compile time or runtime, should land upstream.
Never gonna happen - the fundamental premise of the language is duck typing.
2 replies →