Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Lukas Smith's Blog:
Horizontal Reuse aka Traits Reloaded
Mar 26, 2010 @ 15:38:14

In a quick post to his blog Lukas Smith talks about the proposal for traits support that's been pending for PHP for a while now. Recent updates have been made to it, so it's come back up to the front of developer's minds:

Stefan has since tweaked the proposal and in the latest version it includes an alternative approach called Grafts along with the original Traits idea, which is essentially language level delegation pattern support. I am absolutely sure that we will either see Traits or Grafts in the next non patch release of PHP (aka 5.4 or 6.0).

Lukas would like to see the support go in sooner than later, so he requests some comments and thoughts on the proposed functionality and to leave them as comments on his blog entry.

tagged: horizontal reuse traits rfc grafts

Link:


Trending Topics: