---
title: "Discussion on \"SOLID Principles | O — Open/Closed Principle (OCP)\" | Hashnode"
description: "Discussion on \"SOLID Principles | O — Open/Closed Principle (OCP)\". SOLID principles help us design clean, scalable, and maintainable object-oriented systems.Today, I focused on the “O” — Open/Closed Principle.  \n⸻  \n🔹 What is the Open/Closed Principle?  \nSoftware entities (classes, modules, functions, etc.) should ..."
url: "https://hashnode.com/posts/solid-principles-o-openclosed-principle-ocp/6992f0fa13bdfba09dc0835e"
---

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

Discussion

# [SOLID Principles | O — Open/Closed Principle (OCP)](https://utkarshr.hashnode.dev/solid-principles-o-openclosed-principle-ocp?utm_source=hashnode&utm_medium=feed)

SOLID principles help us design clean, scalable, and maintainable object-oriented systems.Today, I focused on the “O” — Open/Closed Principle. ⸻ 🔹 What is the Open/Closed Principle? Software entities (classes, modules, functions, etc.) should ...

Feb 16 · 2 min read · utkarshr.hashnode.dev  
Read the article

-   [#solid-principles](https://hashnode.com/tag/solid-principles)
-   [#ocp](https://hashnode.com/tag/ocp)

## Written by

[Utkarsh Roy](https://hashnode.com/@utkarshroy)

@utkarshroy · Anand, Gujarat

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

Transforming Data into Intelligence, One Line of Code at a Time

🚀 AI &amp; ML Enthusiast | B.Tech in CSE (AI &amp; DS) Building smart solutions with data, code, and curiosity. Worked on customer segmentation, semantic search agents, and real-time dashboards. Learning in public — one model, one project at a time.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
