Hacker News new | ask | show | jobs
by TylerE 2015 days ago
Isn't this code rather leaky?

What if, for instance, the file DOES exist but the current user doesn't have read permission.

1 comments

The example code isn't a treatise on proper file handling, it's a minimal example of Option