Trait

/tɹeɪ/

noun

  1. An identifying characteristic, habit or trend.

    The number one personality trait I hate is hypocrisy. Why can't you be consistent!?

  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.

Synonyms: characteristic

trait

Loading dictionaries...

Initializing dictionary manager

+