const

const — noun

1. a written abbreviation for 'constant', used in computing to label a value or var

1.名詞B1
釋義

a written abbreviation for 'constant', used in computing to label a value or variable that the programmer does not intend to change while a program runs.

例句

Haruto declared a const variable for the sales tax rate in the code.

const + variable/noun for a fixed value in code

Using const helps other programmers see which values should stay the same.

同義詞
  • final

    used in Java for the same purpose; more common in OOP contexts

  • readonly

    used in C# and TypeScript; allows assignment only at declaration or in a constructor

反義詞
  • variable

    a value that can change; var or let in many languages

用法筆記

In many programming languages such as C++, JavaScript, and Rust, 'const' is a keyword written in lowercase. It is typically placed before a variable declaration to signal that the variable's value cannot be reassigned after initial assignment.

常見錯誤

I declared a const variable and later changed its value in the code.
I declared a const variable, so the compiler prevents me from changing its value.
💡Changing the value of a const variable causes an error in most languages.

2. a written abbreviation for 'constitution' or 'constitutional', used in legal wri

2.名詞B2
釋義

a written abbreviation for 'constitution' or 'constitutional', used in legal writing and official documents to refer to a country or state's founding legal document.

例句

The judge referred to Article V of the U.S. Const. during the hearing.

Const. with period + Article [number] + of

Gabriela found the relevant clause in the state const. after searching for an hour.

用法筆記

When written with an initial capital letter and a period (Const.), it almost always refers to a specific constitution. Used informally within legal case citations and academic footnotes.

3. a written abbreviation for 'construction', used in project plans, signs, and eng

3.名詞B1
釋義

a written abbreviation for 'construction', used in project plans, signs, and engineering documents to refer to the process of building or assembling something.

例句

The const. of the new hospital wing is scheduled to finish in March.

const. of + [building/infrastructure project]

Ravindra checked the const. schedule before ordering the steel beams.

用法筆記

Common on roadside signs ('Under Const.'), in architectural blueprints, and in civil engineering reports. The full form 'construction' is more common in everyday writing.

4. a written abbreviation for 'constant', used in mathematics and science to refer

4.名詞B1
釋義

a written abbreviation for 'constant', used in mathematics and science to refer to a quantity or number that remains the same across all situations or calculations.

例句

The speed of light is a well-known const. in physics equations.

const. as a label for a mathematical/scientific invariant

Aylin wrote the value of const. π on the board for the geometry class.

同義詞
  • invariant

    more formal; used in advanced mathematics and computer science

反義詞
  • variable

    a quantity that can change in an equation or experiment

用法筆記

Used in textbooks, scientific papers, and mathematical proofs to save space. Unlike the programming sense (const keyword), this sense always refers to the underlying invariant value itself, not to a language keyword.

常見錯誤

The value of const π is 3.14 in this experiment.
The value of the constant π is 3.14 in this experiment.
💡When speaking or writing formally, use the full word 'constant' instead of the abbreviation.