Hacker News new | ask | show | jobs
by resonantjacket5 2888 days ago
Imagine if in python open('file.txt', 'r') never failed so no one ever bothered to put a try block. To prevent this from happening they purposely have open() fail a couple times.