Skip to content
Author: ytianle

Abstract Interface⚓︎

For the Dependency Inversion principle, we can use the concept of abstract interface as an implementation.

picture 26

Why do we care?
  1. Decouple components -- loosely coupled
  2. Mock
  3. Unit test
  4. Develop in parallel
  5. Do user-centered design and iterate cheaper. Yeah, BFFs!