Abstraction Layer
- tags
- Book: A Philosophy Of Software Design
-
A way of hiding the working details of a subsystem allowing separation of concerns
-
Implemented through abstracting the underlying system
-
Data passed through layers of abstraction is a sign of information leakage and is a code smell
- One solution is to use a shared context though it’s not very elegant
-
One heuristic is to pull complexity downwards the layers of abstraction
-