Imperative and declarative programming

Kristian Tuusjarvi
4 min readJan 16, 2024

In this article I am discussing the difference between imperative and declarative programming. This topic caught my attention when researching the difference between functional (FP) and object-oriented programming (OOP), as FP is a subparadigm of declarative programming, and OOP is a subparadigm of imperative.

Kitten thinking about the differences between imperative and declarative programming.

Imperative programming is what most of us are doing in school and work. When writing…

--

--