tidylab / decorators

Extend the behaviour of a function without explicitly modifying it
https://tidylab.github.io/decorators/
Other
12 stars 0 forks source link

Decorator Definition #7

Open harell opened 3 years ago

harell commented 3 years ago

Decorators have the following qualities:

Decorators may alter the behaviour of a function in one or more ways:

Decorators violate several SOLID principles:

harell commented 3 years ago

Violating LSP