PROGRAMMING
Python
Python from your first script to code you can maintain. Start here if you have never programmed.
0 likes
Likes for this tutorial.
Python Type Hints: Catch Bugs Before Your Users Do
Level: Advanced
Python ignores type hints when it runs. A checker like mypy doesn't. See one file crash on its first bug, then see mypy find both bugs before anything runs, and learn where to start adding hints in an existing project.
6 min read
0 likes
Likes for this tutorial.
Adding mypy to an Existing Python Project Without 500 Errors on Day One
Level: Advanced
Start mypy with its defaults, fix what it finds, turn on check_untyped_defs, then make one module at a time strict. Every function you annotate checks every place that calls it, so start with the busiest ones.
6 min read