trait
//tɹeɪt//
formalForms
- Plural
- traits
Definitions
1.An identifying characteristic, habit or trend.
- The number one personality trait I hate is hypocrisy. Why can't you be consistent!?
- Turning to our second trait, if you have straight hair, then both of your parents must carry an allele for this trait.
- The positive and constructive aspect of possibility gives the key to understanding the two chief traits of immaturity, dependence and plasticity.
2.An uninstantiable collection of methods that provides functionality to a class by using the class’s own interface.
- Traits are somewhat between an interface and a mixin.
Frequency
Overall
Uncommon· #3766
By learning goal
- Everyday conversation
- Rare
- General reading & writing
- Uncommon
- Academic
- Uncommon
- Literature
- Rare
Etymology
Borrowed from Middle French trait (“line, feature”), from Latin tractus (“drawing, pulling”), from Latin trahō.
Doublet of tract.