Hanselminutes with Scott Hanselman cover image

SOLID Principles with Uncle Bob - Robert C. Martin

Hanselminutes with Scott Hanselman

00:00

The Open Close Principle

The open close principle was coined in 1988 by Bertrand Meyer. It says that modules should be open for extension but closed for modification. The benefit here is that it allows us to create systems whose behavior can be extended without modifying the core of the code. And so we try to apply that with object-oriented techniques using the open close principle and polymorphism.

Play episode from 13:13
Transcript

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app