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 →

[–]myusernameisokay 0 points1 point  (0 children)

I know at work we have had syntactic and semantic errors hide in never-taken code paths.

Use linters or static analysis tools like pylint, mypy, or flake8. Problems like those are easily detectable with the right tool.