programming construct

noun
UK /ˈprəʊ.ɡræm.ɪŋ ˈkɒn.strʌkt/
US /ˈproʊ.ɡræm.ɪŋ ˈkɑːn.strʌkt/

A programming construct is a basic building block that tells a computer what to do.

A loop is a programming construct that repeats steps again and again.


OTHER MEANINGS

2. A pattern in code used to control how a program runs.

The teacher explained each programming construct before the students wrote their own code.

3. A piece of a programming language that has a special job.

An if-statement is a programming construct that makes a choice.

4. A tool in code that helps organize instructions.

Functions are a useful programming construct for keeping code tidy.