3 ms·
And if it's the initial configuration file?
by pixl97 3y ago
And if it's the initial configuration file?
- lelanthran 3y ago> And if it's the initial configuration file? You're still going to have to open it and handle the errors (in case it's the wrong permissions, or the filename is a directory, etc). Checking if it exists doesn't make the subsequent code any easier or shorter - you still have to check for errors even if it exists.