Software Architecture · SOLID Principles
How should Open Closed Principle be applied in a production system?
Use polymorphism, strategies, configuration, or composition around known variation points, not everywhere. The implementation should be justified by measurable requirements, kept as simple as the problem allows, and validated with realistic tests, telemetry, failure handling, and documented tradeoffs.