Trait (abstract type)

Trait (abstract type)

Trait is an abstract type, used as a "simple conceptual model for structuring object oriented programs." [http://web.cecs.pdx.edu/~black/publications/TR_CSE_02-012.pdf] . Traits are similar to mixins, but may include definitions for class methods. Traits have been proposed for inclusion in Smalltalk, ActionScript 3.0 and PHP, and are found in Moose (Perl 5), Perl 6, and Scala. "Module mixins" in Ruby are similar to traits to some degree.

Traits were initially developed at the Software Composition Group, University of Berne.

External links

* [http://www.iam.unibe.ch/~scg/Research/Traits/ Traits]
* [http://citeseer.ist.psu.edu/566972.html Traits: Composable Units of Behavior]


Wikimedia Foundation. 2010.

Игры ⚽ Нужен реферат?

Look at other dictionaries:

  • Trait — may refer to: * Trait, a characteristic or property of some entity. * Biological traits, which involve genes and characteristics of organisms. * Trait theory, an approach to the psychological study of personality.In computing * Trait class, a… …   Wikipedia

  • Myers-Briggs Type Indicator — Carl Jung in 1910. Myers and Briggs extrapolated their MBTI theory from Jung s writings in his book Psychological Types. The Myers Briggs Type Indicator (MBTI) assessment is a psychometric questionnaire designed to measure psychological… …   Wikipedia

  • Multiple endocrine neoplasia type 2b — Classification and external resources Micrograph of medullary thyroid carcinoma, as may be seen in MEN 2b. H E stain …   Wikipedia

  • Personality psychology — studies personality based on theories of individual differences. One emphasis in this area is to construct a coherent picture of a person and his or her major psychological processes (Bradberry, 2007). Another emphasis views personality as the… …   Wikipedia

  • List of psychology topics — This page aims to list all topics related to psychology. This is so that those interested in the subject can monitor changes to the pages by clicking on Related changes in the sidebar. It is also to see the gaps in Wikipedia s coverage of the… …   Wikipedia

  • Mixin — This article is about the programming concept. For the ice cream, see Mix in. In object oriented programming languages, a mixin is a class that provides a certain functionality to be inherited or just reused by a subclass, while not meant for… …   Wikipedia

  • Human genetic variation — is the natural variation in gene frequencies observed between the genomes of individuals or groups of humans. Variation can be measured at both the individual level (differences between individual people) and at the population level, i.e.… …   Wikipedia

  • Histoire évolutive des végétaux — Diversité des plantes modernes. Les végétaux ont évolué en atteignant des niveaux croissants de complexité, depuis les premières algues, en passant par les bryophytes, les lycopodes et les fougères, jusqu aux complexes gymnospermes et angios …   Wikipédia en Français

  • Dacian bracelets — Dacian gold bracelet, dated to 1st century BC – 1st century AD, from Sarmizegetusa Romania [1][2] …   Wikipedia

  • personality — /perr seuh nal i tee/, n., pl. personalities. 1. the visible aspect of one s character as it impresses others: He has a pleasing personality. 2. a person as an embodiment of a collection of qualities: He is a curious personality. 3. Psychol. a.… …   Universalium

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”