[r5]: / Tags / The -Decorator- Pattern / README.md  Maximize  Restore  History

Download this file

7 lines (3 with data), 502 Bytes

The 'Decorator' Pattern for CODESYS 3

Original Poster: Armando Rene Narvaez Contreras

In object-oriented programming, the decorator pattern is a design pattern that allows behavior to 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.