Content deleted Content added
m interwiki |
m fix incorrect link to stone using AWB |
||
Line 1:
'''Traits''' are a type of [[abstract type]], used as a "simple conceptual model for structuring [[object oriented]] programs."[http://www.cse.ogi.edu/~black/publications/TR_CSE_02-012.pdf]. Traits are similar to [[mixin]]s, but may include definitions for class methods. Traits were proposed for inclusion in [[Smalltalk]], and are found in [[Perl 6]] and [[Scala]]. And "module mixins" in [[Ruby (programming language)|Ruby]] is like traits in some degree.
== External links ==
Line 5:
* [http://www.iam.unibe.ch/~scg/Research/Traits/ Traits]
* [http://citeseer.ist.psu.edu/566972.html Traits: Composable Units of Behavior]
{{compu-prog-stub}}▼
[[Category:Type theory]]
[[fr:trait (type abstrait)]]
▲{{compu-prog-stub}}
|