Skip to main content

Imperative ↔ (Paradigm) to express logic with explicit Control Flow via step-wise instructions

aka Imperatively

contrast Declarative which asks "what", Imperative describes "how"

Imperative Programming Language may run more efficiently since Machine Code consists of Imperative Statements

Structured Programming

Subset of Imperative Paradigm organise code by specific control structures

Procedural Programming

(Paradigm) Imperative subset to split Program into smaller sub-tasks (Procedure)

Modular Programming

Ground-up approach of assembling individual modules

References

  1. CLow-Level General-Purpose Programming Language with Imperative Procedural Programming Paradigm

  2. useRouter() ↔ Next Library Hook to return router function to Imperatively navigate within Page

  3. useNavigate()React Router Hook to return Imperative navigate fn

  4. Procedural Programming ↔ (Paradigm) Imperative subset to split Program into smaller sub-tasks (Procedure)

  5. router()Imperative fn return by useRouter()

  6. Memory Safety ↔ of Programming Language to auto incl Garbage-Collection handling w/o need Imperative cleanup