Tags/#oop
#oop
The Open-Closed Principle perfectly explains the replicator from Star Trek
Adding a latte shouldn't require opening the replicator. That's the Open-Closed Principle, and the holodeck safety protocols going offline is what happens when a design ignores it.
Composition over Inheritance on roadmap.sh
My Composition over Inheritance YouTube video is listed as a learning resource on the roadmap.sh Software Design and Architecture roadmap.