You might be using assert wrong (Python)highertier.com 2 pointsrikatee4 years ago1 commentSaveHideCopy link On HNComments−jollyllama4yAsserting the presence of critical data without which the program cannot function is valid. But failing gracefully and asking again for user or network data is correct.
Comments
Asserting the presence of critical data without which the program cannot function is valid. But failing gracefully and asking again for user or network data is correct.