Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
You might be using assert wrong (Python)
(opens in new tab)
(highertier.com)
2 points
rikatee
3y ago
1 comments
Save
Share
1 comments
1 comments · 1 top-level
top
newest
oldest
jollyllama
3y ago
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.
j
/
k
navigate · click thread line to collapse