News for hackers. Stuff that matters.
Re:New to PHP 5.4: Traits by barrkel on Saturday November 20, 2010 @11:31AM (#1924722)
Singletons are global variables++. Read up on the capability security model and ambient authority (Mark Miller's erights.org, Gilad Bracha's Newspeak, Mark Miller's JS work eliminating accessibility of document etc. singletons for safely eval'ing JSON etc.) to understand the security, composability, testability and modularity issues with these idioms.

There are no comments on this comment yet.