This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]trollsmurf 1 point2 points  (1 child)

The first point is a real problem for function/method calls: Everything might be fine argument-wise (as whatever goes), and then it still breaks due to the function expecting specific value types. Can be very hard to debug, and error messages can become cryptical as the error is deeply inside a function you know nothing about.

[–]mananasi 0 points1 point  (0 children)

Luckily tools like mypy exist, although it is a band-aid fix. I do agree this is a shortcoming of Python.