Why are exceptions considered better than explicit error testing?
- by Richard Keller
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?