Re: horizontal reuse: traits vs. grafts

From: Date: Fri, 26 Mar 2010 09:38:46 +0000
Subject: Re: horizontal reuse: traits vs. grafts
References: 1 2 3 4 5 6 7 8 9  Groups: php.internals 
Request: Send a blank email to internals+get-47641@lists.php.net to get a copy of this message
On 26 Mar 2010, at 10:26, mathieu.suen wrote:

> Variable has been discuss in *http://tinyurl.com/y9t7nd9
Right, and related to that we have freezable traits
http://scg.unibe.ch/scgbib?_k=NNRwidu5&query=freezable+traits&display=abstract

Which influenced this RFC for PHP: http://wiki.php.net/rfc/nonbreakabletraits

And there are traits based on lexical nesting, which does not seem to be applicable to PHP at all:
http://scg.unibe.ch/scgbib?_k=J-wbMltV&query=tom+cutsem+bergel


However, it still comes with a relatively high complexity, and a lot new concepts...

The last time we had a lengthy discussion on this, and the conclusion was, people are afraid of this
additional complexity.
That was my reason to design grafts.

Best regards
Stefan



-- 
Stefan Marr
Software Languages Lab
Vrije Universiteit Brussel
Pleinlaan 2 / B-1050 Brussels / Belgium
http://soft.vub.ac.be/~smarr
Phone: +32 2 629 2974
Fax:   +32 2 629 3525



Thread (21 messages)

« previous php.internals (#47641) next »