from Hacker News

You might be using assert wrong (Python)

by rikatee on 8/9/22, 11:02 AM with 1 comments

  • by jollyllama on 8/9/22, 1:14 PM

    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.