Talk:Traits class
Appearance
![]() | This redirect does not require a rating on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | |||||||
|
![]() | The contents of the Traits class page were merged into Trait (computer programming) and it now redirects there. For the contribution history and old versions of the merged article please see its history. |
Information in this article is barely informative, if you did not know before what a traits class is. Some more details, usage and possibly an example would make the article usable (imho now it is not of any use).
Based on the links at the end of the page, it looks like PHP traits mirror c++ multiple inheritance, and that c++ traits are a completely different idea. C++ "traits" give data/methods/types tied to a particular class, but not accessed through that class. Allpowerful32 (talk) 21:42, 6 July 2012 (UTC)