PHP Classes

Its worth nothing to explain that an object messing with the ...

Recommend this page to a friend!

      Constant Management class  >  All threads  >  Its worth nothing to explain that an...  >  (Un) Subscribe thread alerts  
Subject:Its worth nothing to explain that an...
Summary:Package rating comment
Messages:1
Author:Rodrigo Contreras K.
Date:2012-06-04 08:10:18
 

Rodrigo Contreras K. rated this package as follows:

Utility: Bad
Consistency: Not sure
Documentation: Not sure
Examples: Not sure

  1. Its worth nothing to explain that an...   Reply   Report abuse  
Picture of Rodrigo Contreras K. Rodrigo Contreras K. - 2012-06-04 08:10:18
Its worth nothing to explain that an object messing with the global namespace is in general a bad idea. The same thing can be achieved by having a private assoc array in the instance. If you want to rely on global variables you have to know their names in advance and once you have those names you can edit their values anywhere... because they are global! And an updateable constant is really an oxymoron.