|
|
|
|
|
by lelanthran
635 days ago
|
|
> that's just operator overloading and it exists in many statically typed languages too My point is that Python's "typing" guarantees allow a caller to call a function with the wrong type, and get back a wrong answer and/or silently lose data. Strong typing is pointless if the language is unable to actually prevent common footguns, like passing in the incorrect type. I'm moving more and more to the opinion that arguing about the spectrum of strong <-> weak typing is stupid, because type utility is on the spectrum of static <-> dynamic, with dynamic being full of footguns. |
|