Re: Singletons
2014-02-05 Johannes Schlüter <[email protected]>:
> On Wed, 2014-02-05 at 13:09 +0100, Sebastian Krebs wrote:
> > Beside this: Thats how it works in all me known languages. I don't know
> any
> > language, where a pattern (in any form) is part of the core.
>
> You mean like PHP which i.e. ships Observer pattern?
> http://php.net/splobserver
>
>
OK, it's in the core, but not part of the language (somehow). You know,
what I meant ;)
> That said: We won't add singleton. Creating a trait in userspace is
> trivial for the ones who really want to use it.
>
> johannes
>
>
--
github.com/KingCrunch
Thread (13 messages)