Imperative programming

In imperative programming, the programmer is responsible for writinghowa program should execute. Imperative programming uses statements to direct the program in a sequential manner. For example, when iterating through a list you might write a statement likeindex += 1to both increment and set an index variable.

We use the term "imperative programming" to describe a programming paradigm. It's a fuzzy description which is applied to languages but is often a matter of style and of what language constructs a programming language provides.