* Peter da Silva <pe...@taronga.com> [2007-01-29 13:20]:
> That encapsulates everything that's hateful about try/catch.

That's because error handling, while indisputably required, is
hateful. I haven't seen an approach for doing it that doesn't
degenerate into an unmaintainable mess if you even so much as
think about pushing it. Any form of in-band handling (eg. return
codes) clutters up the code to the point of unreadability; any
form out of out-of-band handling (eg. exceptions) obfuscates
control flow and scatters related code around to the point of
unreadability. You cannot win.

Regards,
-- 
Aristotle Pagaltzis // <http://plasmasturm.org/>

Reply via email to