Skip to content
163. SOLID - Open-Closed Principle episode artwork

Dec 25, 2021 13 min

163. SOLID - Open-Closed Principle

from Kutad Gubilik's Listen Later Hosted by Stride NYC

Podcast: The Rabbit Hole: The Definitive Developer's Podcast (LS 39 · TOP 2% what is this?) Episode: 163. SOLID - Open-Closed Principle Pub date: 2020-07-08 Get Podcast Transcript → powered by Listen411 - fast audio-to-text and summarization As part two of our series that explores the SOLID software design principles, this episode dives straight into the topic of the open-closed principle — that’s the ‘O’ of SOLID for those who are counting. As a software principle created in 1988, back in the days of C++, the essence of this principle states that you should create code that’s “open for extension but closed for modification.” Using the example of needing to create a calculator that measures the areas of rectangles, we talk about how the open-closed principle makes it easier to create an extension to your area calculator if you suddenly need to calculate the area of a circle. While this principle makes it easier for developers to add features to your software, we discuss how needing to perform “shotgun surgery” on your code may be a sign that you haven’t adhered to the open-closed principle. For a real-world example, we share how we’ve implemented the open-closed principle into an intranet project that we’re developing. Near the end of the episode, we talk about how following the open-closed principle helps ensure that you’re following the other SOLID principles. Listen to this episode and learn how important the open-closed principle is to writing good code. The podcast and artwork embedded on this page are from Stride NYC, which is the property of its owner and not affiliated with or endorsed by Listen Notes, Inc.

Episode details come from the podcast's RSS feed.

Embed this episode

Podcast: The Rabbit Hole: The Definitive Developer's Podcast Episode: 163. SOLID - Open-Closed Principle Pub date: 2020-07-08 Details: https://www.listennotes.com/e/f43628a807974afc892f7c9367cdf8d7/ The podcast and artwork embedded on this page are from Stride NYC, which is the property of its owner and not affiliated with or endorsed by Listen Notes, Inc.

Ready to play

163. SOLID - Open-Closed Principle

0:00 13:57

No transcript yet.

Requests help us decide what to transcribe next.

Frequently asked questions

How long is this episode of Kutad Gubilik's Listen Later?

This episode is 13 minutes long.

When was this Kutad Gubilik's Listen Later episode published?

This episode was published on December 25, 2021.

Can I download this Kutad Gubilik's Listen Later episode?

Yes. Use the download control on the episode player to save the publisher-provided media file.