Open Closed Principle

Episode #312 | 13 minutes | published on November 21, 2017 | Uses Xcode-9.1-beta1, swift-4
Subscribers Only
The Open Closed Principle (or OCP) states that a class should be open for extension, but closed for modification. The goal is to write classes that are more stable, and don't require constant changes themselves to support every scenario the software encounters. Instead, having a stable class to inherit from can provide a nice extension point for our software to customize it for other needs.

Nothing yet...

blog comments powered by Disqus