Jump to content

Trait (computer programming)

From Simple English Wikipedia, the free encyclopedia
Revision as of 11:42, 5 April 2012 by Djsasso (talk | changes) (Created page with "In computer programming, a '''trait''' is a collection of methods, used as a "simple conceptual model for structuring object oriented programs". <ref>Nathanael Schärl...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

In computer programming, a trait is a collection of methods, used as a "simple conceptual model for structuring object oriented programs". [1] [2]

References

  1. Nathanael Schärli, Stéphane Ducasse, Oscar Nierstrasz, Andrew P. Black. Traits: Composable Units of Behaviour. Proceedings of the European Conference on Object-Oriented Programming (ECOOP). Lecture Notes in Computer Science, Volume 2743, Springer-Verlag, 2003, pp. 248-274
  2. Stéphane Ducasse, Oscar Nierstrasz, Nathanael Schärli, Roel Wuyts, Andrew P. Black: Traits: A mechanism for fine-grained reuse. ACM Trans. Program. Lang. Syst. 28(2): 331-388 (2006)