Why We Need First-Class ADT Pattern
In this lesson, we will learn why we need the FIRST-CLASS ADT pattern.
We'll cover the following...
Our journey through the patterns will start with a language level pattern that decouples interface from implementation, thus:
- Improving encapsulation.
- Providing loose dependencies.
This pattern will lay the foundation for many of the subsequent patterns in this course.
First-Class ADT pattern
Imagine that you are close to a project deadline when your project ...