TRAIT
Trait
In computer programming, a trait is a collection of methods, used as a "simple conceptual model for structuring object-oriented programs" similar to mixins. Traits provide a simple way to create classes that reuse behavior from software components.The above text is a snippet from Wikipedia: Trait (computer programming)
and as such is available under the Creative Commons Attribution/Share-Alike License.
trait
Noun
- an identifying characteristic, habit or trend
- The number one personality trait I hate is hypocrisy. Why can't you be consistent!?
- In object-oriented programming, an uninstantiable collection of methods that provides functionality to a class by using the class’s own interface.
The above text is a snippet from Wiktionary: trait
and as such is available under the Creative Commons Attribution/Share-Alike License.