4 ms·
There's also bear-type for runtime type checking: https://github.com/beartype/beartype https://github.com/beartype/beartype.
by riyadparvez 4y ago
There's also bear-type for runtime type checking: https://github.com/beartype/beartype https://github.com/beartype/beartype.
- pydry 4y agoI've been perplexed as to why this hasnt been built in to the python runtime since day 1.
- bayesian_horse 4y agoPython was first released in 1991.
- pydry 4y agoAnd day 1 of when type hints was introduced was in 2014.
- toolslive 4y agoType inference has been around (as in "used in programming languages") since the early 1970s. In the beginning python hit a sweet spot: glue code that wasn't exactly write once, too difficult to do in bash, and too small to go all the way and use C++. However, it was not without its own design issues.