Imperative programming is a paradigm of expressing the logic of a computer program or computation by explicitly describing its control flow in terms of statements that change a program state.
From Wikipedia:
In computer science, imperative programming is a programming paradigm that describes computation in terms of statements that change a program state. In much the same way that imperative mood in natural languages expresses commands to take action, imperative programs define sequences of commands for the computer to perform.
FAQ:
- Functional, Declarative, and Imperative Programming
- What is difference between functional and imperative programming languages?
- What is the difference between declarative and imperative programming?
See also declarative-programming