Which Python projects have completed their transition to a type system successfu...
source link: https://lobste.rs/s/8ou90b/which_python_projects_have_completed
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
-
Flask recently added type stubs, around the time 2.0 was being released. Turns out it was rather easy(?) because it didn’t take that long, was done by a single contributor and took 800 lines of type hints.
As for my experience with adding types to a project, it’s usually fairly seamless, and more often than not, you’ll end up finding subtle bugs in your code instead of the type checker getting in the way.
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK