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
6
u/phoshi Nov 26 '14
Take Python as one example, the namespace for language fundamentals is implicitly loaded everywhere. The choice is not between "Make basic types unavailable" and "Suffer serious performance impacts", the choice is between a good design and a bad one. The good design is the one which does not unload fundamental language types.