Re:Isaacs: try/catch is an anti-pattern
by thomasz on Monday November 14, 2011 @07:58AM
(#3233785)
It totally depends on your Application. I wouldn't call a non existing file referenced by a db record, an strange log entry or a malformed xml returned by a webservice an "expected application-level problem". There is absolutely no way for a library writer to decide between an expected and an exceptional condition.
[ Parent
| on HN ]
There are no comments on this comment yet.