News for hackers. Stuff that matters.
Re:Errors and Exceptions by einrealist on Friday August 21, 2015 @10:01AM (#10097493)
The perspective is about layered code and reuse. So what is wrong with delegation? My file access library should not know that it is linked in an application with an UI. Throwing an exception just delegates the issue to the code which depends on me. Whether the IO exception is really a problem can only be decided by the user of my library.

There are no comments on this comment yet.