Why are exceptions considered better than explicit error testing?
Posted
by
Richard Keller
on Programmers
See other posts from Programmers
or by Richard Keller
Published on 2012-09-24T23:46:18Z
Indexed on
2012/09/25
3:49 UTC
Read the original article
Hit count: 434
I often come across heated blog posts where the author uses the argument of "exceptions vs explicit error checking" to advocate their preferred language over some other language. The general consensus seems to be that languages which make use of exceptions are inherently better / cleaner than languages which rely heavily on error checking through explicit function calls.
Is the use of exceptions considered better programming practice than explicit error checking, and if so, why?
© Programmers or respective owner