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.

-- 
Best regards,
  Max Semenik ([[User:MaxSem]])


_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to