-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating
TypeScript 5 Design Patterns and Best Practices - Second Edition
By :
Functional programming is a paradigm that uses functions as the primary building blocks to construct larger programs. It’s built on several core concepts that distinguish it from other paradigms.
We’ll make a distinction now between what we have learned so far about design patterns and what we will learn now about design concepts as they have a different meaning.
Design concepts are the building blocks of any programming paradigm. For example, the basic concepts of Object-Oriented Programming (OOP) are encapsulation, abstraction, inheritance, and polymorphism. If you don’t have encapsulation, then you can’t protect access to private object members, making it difficult to apply certain design patterns.
Under the functional programming paradigm, there are key concepts you ought to use to gain the best benefits. We’ll explain the essential concepts of functional programming one by one and then...