FP concepts

FP receives its name from the way we build applications when we use it as our preferred programming paradigm.

In a programming paradigm such as object-oriented programming, the main building blocks that we use to create an application are objects (objects are declared using classes). However, in FP we use functions as the main building block in our applications.

Each new programming paradigm introduces a series of concepts and ideas associated with it. Some of these concepts are universal and are also of interest while learning a different programming paradigm. In object-oriented programming, we have concepts such as inheritance, encapsulation, and polymorphism. In FP we have concepts such as higher-order functions, function partial ...

Get Learning TypeScript 2.x - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.