Software Engineering KB

Home

❯

05 Software Design and Architecture

❯

00 OOP and SOLID Principles

❯

01 Concept

❯

Open Closed Principle

Open-Closed Principle

Feb 10, 20261 min read

  • solid
  • ocp

Open-Closed Principle

← Back to SOLID Principles

Open for extension, closed for modification. Software entities should allow their behavior to be extended without modifying their existing source code, typically achieved through abstraction and polymorphism.

Key Properties

  • Extension Points
  • Abstraction Layers
  • Plugin Architecture

Related

  • Strategy (pattern implementing OCP)
  • Polymorphism (mechanism for OCP)
  • Decorator (extends behavior without modification)

solid ocp


Graph View

  • Open-Closed Principle
  • Key Properties
  • Related

Backlinks

  • SOLID Principles (OOP)
  • Polymorphism (OOP)
  • Abstraction Layers
  • Extension Points
  • Factory Method
  • Plugin Architecture

Created with Quartz v4.5.2 © 2026

  • GitHub