On 04.04.2013, 16:04 Tyler wrote:
I still fully maintain that entirely static classes is the most useless thing and is just an extremely crude method of hiding global context. We're using PHP 5.3 in the core, might as well just use namespaces at that point, because that's what a static class is: a namespace with global variables and functions. It entirely defeats the purpose of object oriented programming.
There's a difference: static classes can have private variables, allowing to hide implementation.