Hi
On Thu, Mar 25, 2010 at 4:00 PM, Lukas Kahwe Smith <mls@pooteeweet.org> wrote:
> On 25.03.2010, at 14:48, David Soria Parra wrote:
>> Stefan what do you think about "stackable traits" ?
>
>
> Woha .. that code really scares me.
>
While I like features like this in other languages, I think it would
be a big break with PHP's model. PHP has always had a rather static
object model, which may be somewhat limiting, but has the benefit of
being easy to comprehend. Traits/Grafts stays within this paradigm,
but making it possible to modify objects dynamically would be
stretching it.
--
troels