const

A programming keyword indicating a variable whose value cannot be changed.

If a variable is declared const, it is a constant whose value cannot be altered after initialization.

Word parts

  • const: “unchanging” (English)

Literal meaning: “unchanging”.

Meanings

  • noun A variable whose value cannot be changed directly in programming.
  • adjective Whose value cannot be changed directly in programming.
  • adjective Which cannot change the value of its class’s attributes in object-oriented programming.

Origin

  • Old French constant, “steadfast”
  • English constant, “unchanging, fixed”
  • English const, “abbreviation of constant in programming”

VocabGuru: every English word taken apart into prefix, root and suffix, with what each part means and where it came from.