---
title: "Discussion on \"Future-Proofing Your Code: A Guide to the Open/Closed Principle (OCP) in S.O.L.I.D\" | Hashnode"
description: "Discussion on \"Future-Proofing Your Code: A Guide to the Open/Closed Principle (OCP) in S.O.L.I.D\". Writing code that works today is a great feeling. But what happens next month when the design team asks for three new features? If adding those features requires you to tear apart and rewrite your exi"
url: "https://hashnode.com/posts/future-proofing-your-code-a-guide-to-the-open-closed-principle-ocp-in-s-o-l-i-d/6a54e4086dd4cb1e596d0c67"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Future-Proofing Your Code: A Guide to the Open/Closed Principle (OCP) in S.O.L.I.D](https://tirthraj-bhalodiya.hashnode.dev/future-proofing-your-code-a-guide-to-the-open-closed-principle-ocp-in-s-o-l-i-d?utm_source=hashnode&utm_medium=feed)

Writing code that works today is a great feeling. But what happens next month when the design team asks for three new features? If adding those features requires you to tear apart and rewrite your exi

Jul 13 · 4 min read · tirthraj-bhalodiya.hashnode.dev  
Read the article

## Written by

[Tirthraj Bhalodiya](https://hashnode.com/@Tirthraj)

@Tirthraj · Bengaluru, India

  
[View profile](https://hashnode.com/@Tirthraj)

Software Developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
