Skip to content

Type Hints in Python Libraries and Frameworks: An Empirical Analysis of Adoption

arxiv.org
1 pointrunningmike1 comment
On HN

Comments

Full title: "Type Hints in Python Libraries and Frameworks: An Empirical Analysis of Adoption and Maintenance"

Conclusion: Type hints in Python libraries and frameworks primarily serve as API contracts rather than comprehensive descriptions of implementation details.

I come from C/C++, so for me using Python without type hints is the way forwards. But for some libraries it make sense. As long as type hints "do nothing"...but only for some tools.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.