Imperative Programming Language
Jump to navigation
Jump to search
An Imperative Programming Language is a software programming language that can describe computation in terms of imperative statements that change a program state.
- Example(s):
- a Procedural Programming Language, such as: C.
- a Statically-typed Imperative Programming Language, such as: Java, C#.
- an Interpreted Imperative Programming Language, such as Perl; and Python.
- …
- Counter-Example(s):
- a Declarative Programming Language, such as Prolog and SQL.
- See: Procedural Programming.
References
2013
- http://en.wikipedia.org/wiki/Imperative_programming
- 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.
The term is used in opposition to declarative programming, which expresses what the program should accomplish without prescribing how to do it in terms of sequences of actions to be taken. Functional and logic programming are examples of a more declarative approach.
- 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.