Follow

When coding in *always* use the static type annotations mypy-lang.org/ available in Python 2.7 and 3.5+. With a decent IDE like PyCharm they will save you literally hundreds of hours of debugging in future. As I add and change old code in WebCookies.org I never skip adding the annotations and I can't count all the tricky bugs I have fixed or avoided...