On 07.10.2013, 23:45 Brion wrote:
Out of curiosity, what's an actual example of code
where the execution flow
of exceptions is significantly more surprising than the execution flow of a
billion manual checks to avoid "Fatal error: Call to a member function
foo() on a non-object"?
I've heard the vague claim that exceptions are
confusing for years, but for
the life of me I've never seen exception-handling code that looked more
complex or confusing than code riddled with checks for magic return values.
+1
--
Best regards,
Max Semenik ([[User:MaxSem]])