Member-only story
What Are JavaScript Programming Paradigms?
And where do React Hooks fit in?
What you need to know for a technical interview:
- Know what a paradigm is and why JS is multi-paradigm
- Be able to explain OOP and prototypal inheritance
- Be able to contrast OOP with functional programming
What are the two programming paradigms important for JavaScript app developers?
JavaScript is a multi-paradigm language, but what does that mean?
Let’s define what a programming paradigm is first.
Modern programming languages fall into two categories: imperative (also called procedural) and declarative (also called functional).
Object-oriented programming (OOP), procedural programming, and parallel processing are examples of the imperative programming paradigm.
Functional programming, logic programming, and database processing are examples of the declarative programming paradigm.










