3 ms·
Just because you have a Python function that has strict requirements for input doesn't mean every function you're writing has strict requirements. Moreover, us
by Drew_ 7y ago
Just because you have a Python function that has strict requirements for input doesn't mean every function you're writing has strict requirements.
Moreover, using a strongly typed language doesn't magically make you invulnerable to invalid input. Unit tests are useful in every language.