If you’ve used JavaScript, you would at least come across the terms “Imperative Programming” or “Declarative programming” once. So what are they? and what is the relation between them and JavaScript? Is it important to understand their concept?

My honest answer is yes. By comprehending imperative programming and declarative programming, it helps developers make good decision on how to approach the problem. Before delving into imperative and declarative programming, let’s have an overview of paradigm.

What is Paradigm?

Imperative and declarative programming are 2 out of 27 programming paradigms.

A programming paradigm is an approach to programming a computer based on a mathematical theory or a coherent set of principles. …

Anna Vu

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store