Imperative programming

Imperative programming is when we write code that describes how to achieve a task, using step-by-step instructions.

It focuses on the specific implementation of the algorithm, detailing the control flow and state and stuff.

This document is incomplete, because, to be honest, I think it is silly to differentiate programming languages this way.

flashcards

QuestionAnswer
Imperative programmingWriting code that describes how to achieve a task using step-by-step instructions.
What does imperative programming focus on?The specific implementation of an algorithm, detailing control flow and state.
What is the author’s opinion on differentiating languages by imperative vs. other paradigms?The author thinks it is silly.