News for hackers. Stuff that matters.
Re:Current hardware trends make C++ exceptions harder to jus... by spc476 on Tuesday February 22, 2022 @05:53PM (#30435033)
It should be up to the application to throw or not, not a library. I write a system service. If it can't find the configuration file, it can't continue, so it throws an exception. If it can't open a file that contains state from a previous run (maybe because it's the first time it's running) that's fine, the program can run without it and thus, no exception.

There are no comments on this comment yet.