Re:PyCon US 2021 Recordings are Available
by rychco on Friday June 04, 2021 @10:47PM
(#27401591)
I personally don’t think Python type hints are particularly useful for solo projects, but are very useful for communicating the intent of my code to others.
[ Parent
| on HN ]
Sometimes, "others" is yourself in a few months trying to look at the code :)
If my project is something beyond a small script that I plan on working on on or off for a while, I do find that annotations definitely help. Also, it fuels IDE completions between functions if you annotate your input.