trait

noun
/tɹeɪt/

Etymology

Borrowed from Middle French trait (“line, feature”), from Latin tractus (“drawing, pulling”), from Latin trahō. Doublet of tract.

  1. derived from traho
  2. derived from tractus
  3. borrowed from trait

Definitions

  1. An identifying characteristic, habit or trend.

    • inherited traits and acquired traits
    • The number one personality trait I hate is hypocrisy. Why can't you be consistent!?
    • The English, of all classes, value themselves on this trait, as distinguishing them from the French, who, in the popular belief, are more polite than true.
  2. An uninstantiable collection of methods that provides functionality to a class by using…

    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.
    • Traits are parametrized on other methods, which must be provided to create a class using the trait. Using a trait-like mechanism to compose large collections of mutually-dependent classes or traits could lead to parameter explosion.

The neighborhood

Vish — recursive loop

A definitional loop anchored at trait. Each word in the ring is defined by the next; follow the chain far enough and it folds back on itself. Scroll to it and watch.

01trait02interface03substances04substance05essential06organism07seen08saw09cutting10verb

A definitional loop anchored at trait. Each word in the ring appears in the definition of the next; follow the chain far enough and it folds back on itself.

10 hops · closes at trait

curated · pre-corpus. live cycle detection across the full graph is the next major milestone.

sense glosses and etymology drawn from English Wiktionary · source · CC-BY-SA