...

/

Generic Interfaces - FP Perspective

Generic Interfaces - FP Perspective

This lesson talks about generic interfaces from the perspective of Functional Programming.

We'll cover the following...

Overview

Unlike OOP, objects don’t have behavior in Functional Programming. Interfaces are used not to enumerate methods of an object, but to describe the shape of the data contained by the object.

In this context, generic interfaces are used to describe a data shape when you don’t know or care about the exact type of some ...