docs: Update README.md (#2334)

Corrected quote from Wikipedia.
This commit is contained in:
YosefSiebzener
2022-11-23 13:37:32 -05:00
committed by GitHub
parent 10fb952d85
commit 8c3cc7df62
+2 -1
View File
@@ -35,7 +35,8 @@ Wikipedia says
> be added to an individual object, either statically or dynamically, without affecting the behavior
> of other objects from the same class. The decorator pattern is often useful for adhering to the
> Single Responsibility Principle, as it allows functionality to be divided between classes with
> unique areas of concern.
> unique areas of concern as well as to the Open-Closed Principle, by allowing the functionality
> of a class to be extended without being modified.
**Programmatic Example**