linhung0319
Yes, I use type hints extensively. It helps with autocompletion and let's you catch bugs before you even run the code. lt is also much easier to use a 3rd party module if functions/methods are annotated, since you know what kinds of arguments they expect from you.
linhung0319
Also reading functions like this is alot more pleasant. I use type hints so much. Almost 100% if I can help it
linhung0319
100% this is absolutely mandatory to keep my big professional projects in good shape Takes time at the beginning, save days later
Python is not as statically typed language but we can specify the type of a variable. Do you use this feature and if it's the case why and how ?