Re:Pyre: A performant type-checker for Python 3
by joshuamorton on Monday May 10, 2021 @07:16PM
(#27112090)
Fwiw this absolutely doesn't match my experience with pytype, both on my own work and, as I understand it, "at scale".
[ Parent
| on HN ]
Re:Pyre: A performant type-checker for Python 3
by globular-toast on Tuesday May 11, 2021 @04:53AM
(#27115803)
Ah yes... good old anecdotal evidence.
Re:Pyre: A performant type-checker for Python 3
by joshuamorton on Tuesday May 11, 2021 @12:32PM
(#27120178)
The org I'm in regularly publishes peer reviewed papers on engineering productivity (including on this particular subject!). It's far less anecdotal than a random talk by a random dude.
Re:Pyre: A performant type-checker for Python 3
by globular-toast on Tuesday May 11, 2021 @12:59PM
(#27120477)
Could you kindly link to one of those papers?
Re:Pyre: A performant type-checker for Python 3
by joshuamorton on Tuesday May 11, 2021 @02:32PM
(#27121716)
https://storage.googleapis.com/pub-tools-public-publication-... for ane example not directly related to python (a migration from stronger than python to even stronger caught some, though a small number of errors).
I've also written about this publicly before, e.g. https://mail.python.org/archives/list/[email protected]/..., where I found a number of errors by tweaking pytype in a way to make it stronger. It's difficult to quantify what percentage of bugs would have been found anyway, but pretty much any time the type systems I work with improve, it uncovers new bugs.