Hacker News new | ask | show | jobs
by barrkel 5266 days ago
Silent failure doesn't carry information about how the thing failed: did the file not exist, was it not accessible because of security, was there a failure on the underlying device or file system?

How is the user supposed to figure out what went wrong with the program if the program can't even convey to the user what went wrong?

Complex problems have lots of simple wrong answers.

(Your "solution" also suggests nothing about how "in.close()" is going to get called if "...dostuff..." itself throws an exception.)