Imperative and declarative programming
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.
Imperative programming is what most of us are doing in school and work. When writing…