Today’s post was submitted by an anonymous CSI: PHP investigator.
There’s some kind of design pattern going on here that I don’t quite understand, I’m certain, because this is all over the place:
1 2 3 4 5 6 7 8 9 10 11 |
|
This isn’t the worst. Apparently, simply saving a code snippet to paste in with all those application and framework exceptions was getting tedious (never mind the cost of maintaining them), so this (d)evolved eventually into:
1 2 3 4 5 6 7 |
|
In the rare cases where the author was actually interested in the Exception thrown, we see lots of:
1 2 3 4 5 6 7 8 9 |
|
The backlog is peppered with White Screen of Death (WSOD) errors that have no diagnosis and few steps to reproduce… And then there are the Ajax requests that seemingly fail for no reason. If this was just in legacy code that could be traced to (read: blamed on) one or more former employees, that would be one thing, but it appears to be cultural at this point.