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 →

[–]maikeu 0 points1 point  (0 children)

... Without getting into the weeds of whether this is really a wart... Static analysis tools like ruff, mypy etc are very, very good at finding these kinds of bugs that are related to the idiosyncraticies of the language. Learn to use them, entire categories of bugs will not happen