imperative language

English

Noun

imperative language (plural imperative languages)

  1. (computing) Any programming language that consists (mostly) of a series of commands, typically assigning values to objects; a procedural language.

x = 1;
y = 2;
z = x + y;
printf("%d\n", z);

A sequence of statements in the imperative C programming language, where "=" is the assignment operator. Each is executed in order. For example, the values of x and y assigned in lines 1 and 2 are used in line 3.

Antonyms

  • declarative language

Hypernyms

This article is issued from Wiktionary. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.