Depend on Abstractions not Concretions (Framework) @ChristopherOkhravi
Depend on Abstractions not Concretions (Framework)  @ChristopherOkhravi
Uploaded April 2024 | Updated November 2026, 2 days ago
I made this simple framework to explain why and how we should "depend on abstractions and not on concretions". It's a quadrant diagram where the two dimensions captures the principles "program to interfaces, not implementations" and "dependency injection".

πŸ’š BUY MY BOOK:
theobjectorientedway.com

πŸ›οΈ geni.us/IBhtLnh (Clean Architecture)
🧠 geni.us/CpLx2y (Agile Principles, Patterns, and Practices)
🌟 geni.us/zzlx (Dependency Injection: Principles, Practices, and Patterns)

00:00 Intro
00:14 Overview
00:41 The diagram
02:41 Concretion + Instantiation
05:34 Dependency Injection (Concretion + Injection)
06:36 Program to interfaces (Abstraction + Instantiation)
09:22 Combining both (Abstraction + Injection)
10:01 Book recommendations
10:39 Depend on abstractions (Abstraction + Injection)

Watch next: youtu.be/TkUhAbbRCAE
Depend on Abstractions not Concretions (Framework)Abstractions Should Reduce ComplexityAlways Use InterfacesThree strikes, then refactor #shortsDuplication Is Cheaper Than The Wrong AbstractionThey Knew Waterfall Didnt WorkComposing simple things to make complex thingsNothing Wrong With Procedural Programming?3 Ideas on RefactoringSubtype polymorphism captures variation as behaviorAccidentally Used Design Patterns When Rebuilding PokΓ©monSmarter Than Numbers
Christopher Okhravi |

Depend on Abstractions not Concretions (Framework)

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER