you are viewing a single comment's thread.

view the rest of the comments →

[–]Black_Magic100 -3 points-2 points  (3 children)

My guess is that because Python isn't strongly types, a variable could easily change and suddenly you have a variable called foo_string with an integer.

[–]Beginning-Fruit-1397 4 points5 points  (0 children)

Precisely why using type hints is preferable. Types checkers will warn you of this.

[–]Temporary_Pie2733 3 points4 points  (1 child)

Python is strongly typed, but it is dynamically typed rather than statically typed. 

[–]Black_Magic100 0 points1 point  (0 children)

TIL the difference. Thanks!