HN user

daknok

2 karma
Posts1
Comments2
View on HN

You should use try/catch; branching would imply a race condition in a multithreaded environment (what if another process deletes the file between the check and the use of the file?).