PHP5 and OOP – more code reusability…some day

Early in this year there was very interesting post @ news.php.net:

http://news.php.net/php.internals/35562

Somehow, this is very cool feature that can help PHP be a better OOP language then ever. This is damn cool, but are php’s team going to implement it in the next few years ?
Is good to think, think and at last implement features as currently the team is releasing the new versions (5.3 & 6.0), but the developers want abit more from their favorite dev language :)

Also, if you research over the net, many, many, many php developers tries to implement different code reuse patterns similar to Mixins (maybe some (e)RoR fans :) ), so I think that this is enough Proof of concept for the PHP team – we need code reusability!

Here is a longer example/RFC about Traits:

http://www.stefan-marr.de/artikel/rfc-traits-for-php.html

blog comments powered by Disqus