What is the meaning of 'construct' in programming languages

does the word 'construct' have an relation to an object 'constructor' in other languages?

The sentence uses the noun, not a verb, meaning of the word "construct":

construct (n) - something (such as an idea or a theory) that is formed in people's minds.

In this case, "construct" refers to an abstract way of describing something (namely, a loop) in terms of the syntax of that particular language. "Language construct" means "a way to do [something] with that language".


In this case you can replace the word construct with syntax.

does the word 'construct' have an relation to an object 'constructor' in other languages?

No. These two terms are different. There is nothing like constructor in C


It's a generic term that normally refers to some particular syntax included in the language to perform some task (like a loop with the condition at the end). It has no relation at all with constructors.1


  1. Well, besides the fact that constructors are a particular language construct in many OO languages.

Tags:

C