Skip to content
OneKitly

trait

nounattested in dialogue

  • //tɹeɪt//
  • //tɹeɪ//

An identifying characteristic, habit or trend.

noun

  1. 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.

    The positive and constructive aspect of possibility gives the key to understanding the two chief traits of immaturity, dependence and plasticity.

  2. 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.

    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.

Etymology

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

Forms

plural
traits
The neighbouring pagesAlphabetical order follows the rules of the language, not byte values: an accent decides only between two otherwise identical words, and Spanish files Ñ as a letter of its own.

Lexical content from Wiktionary, under CC BY-SA 4.0 · Source entry · Data version 2026-08-23

Rank among the words of the OpenSubtitles 2018 corpus — film and television subtitles, so spoken rather than written usage (CC BY-SA 3.0).