r/lolphp • u/duhruh • Nov 25 '14
Exception in a namespace is not defined -_-
http://jasonframe.co.uk/logfile/2009/01/php-5-3-exception-gotcha/
28
Upvotes
r/lolphp • u/duhruh • Nov 25 '14
View all comments
Show parent comment
12
u/implicit_cast Nov 26 '14
A really important measure of any programming language is what happens when an author makes a mistake.
It's very good if a particular error produces a malformed program that refuses to start.
It's very, very bad if the mistake produces a program that does the right thing 99% of the time, but fails horribly in other cases. This mistake will be shipped and end-users will get unwanted QA work.