Programming paradigm concepts
-Types of paradigms(Overview)
Functional programming
Object oriented programming
Imperative Programming
Imperative is great for short programs that need to be read by many developers.
However State is not protected in imperative style programming. Global variable pollution is also a problem
Some paradigms do complement one another and might be found together in one program; for instance, an Object-Oriented program might have Imperative style logic in its methods. At the same time, choosing opposing paradigms would cause your program to be confusing and unproductive
Imperative programming
-Easy to learn -Does not scale well -Intuitive, Non-itimidating -Can be used alongside other paradigms
Functional programming
-Harder to learn -Scales very well -Dependable, Reusable -Can’t be used alongside other paradigms
Object Oriented
-Medium difficulty to learn -Scales fairly well -Intuitive, Easy to reason about -Can’t be used alongside other paradigms
Summary There are strengths and weaknesses to every paradigm, and the more you know, the more equipped you are to pick the best one for the job, instead of just getting into a routine of using only one. These concepts are especially helpful when learning React and Redux.