↩ 🔵 🔵 🔵


Primary

၊၊||၊|။

Imperative Programming ○𓆪|Definition|1st|20261025213221-00-⌔

Imperative programming - Wikipedia

Imperative programming

In computer science, imperative programming is a software programming paradigm that provides specific instructions for how computations should take place. This paradigm may use statements that may change a process’s state. In much the same way that the imperative mood in natural languages expresses commands, an imperative program consists of commands for the computer to perform. Imperative programming focuses on describing how a program operates step by step (the order of the steps being generally determined in source code by the placement of statements one below the other),1 rather than on high-level descriptions of its expected results.

The term is often used in contrast to declarative programming, which focuses on what the program should accomplish without specifying all the details of how the program should achieve the result.2

Printed 2026-10-25.

(echo:: @ ᯤ)

Footnotes

  1. Jain, Anisha (2022-12-10). “Javascript Promises— Is There a Better Approach?”. Medium. Archived from the original on 2022-12-20. Retrieved 2022-12-20. ↩

  2. “Imperative programming: Overview of the oldest programming paradigm”. IONOS Digitalguide. 21 May 2021. Archived from the original on 2022-05-03. Retrieved 2022-05-03. ↩

Link to original

Secondary

• • •