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.
" In this paper, we set out to fill this critical gap, focusing on real-world native code bugs in native Python applications (i.e., software written in Python and C as primary languages, a.k.a Python-C software). We start by collecting and labeling the first set of 1,039 automatically mined and then manually confirmed native-bug-fixing commits from 200 Python-C projects on GitHub. "
I have serious doubt about this study. It's does not meet crucial reproducible research criteria. And most real-world Python-C Application are not FOSS and available on a public repository. But doing research on public repository is easy.
This paper focuses solely on public repositories. This is harmful and fuels the inaccurate perception that open-source software is inherently buggy, a view still promoted by commercial vendors and adopted by many managers worldwide.
Nice improvement! Good reliable statistics for Python package use is a real challenge! So best is to use multiple indicators to get a rough indication!
"This change removes one source of potential confusion and misinterpretation, but does not mean download counts are an accurate measure of how many people use a package."
If you can not choose, just start with "Python Programming for Data Science". No barrier for starting, its cc-by and requires no account to read.
[1] Check: https://nocomplexity.com/documents/pythonbook/bookreferences...
reply