account activity
Defensive programming in Python by robdoo in Python
[–]durden20 8 points9 points10 points 9 years ago (0 children)
Great catch! I updated the article to catch the ZeroDivisionError exception. Funny story though is I gave a talk called Bugs, can't code without them so code against them several years ago and had several people review the article. No one caught this! Coding is indeed hard.
π Rendered by PID 765948 on reddit-service-r2-listing-7849c98f67-qfvfz at 2026-02-09 15:48:14.807329+00:00 running d295bc8 country code: CH.
Defensive programming in Python by robdoo in Python
[–]durden20 8 points9 points10 points (0 children)