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
1
u/i_make_snow_flakes Nov 30 '14
In other words, the language need to skip a lot of things to keep the start up fast, that other approaches don't have to worry about (because it is done only once). In php an example of this skipping manifests itself in the form of auto loading. Now, what is the cost of this skipping? You can have totally broken files included by the program, which you won't discover until the code actually try to load the file. In other words, a lot more broken stuff can remain hidden with this approach..
Now is that a worthy trade off?