Starting from Python decorators I wanted to dig deeper what the software engineering community says about decorators and differences to other main concepts. I come up with following recommendations:
- When to use AOP or decorator in your architecture: https://crosscuttingconcerns.com/AOP-vs-decorator
- Difference between AOP and decorator:
https://damnhandy.com/2005/07/05/aop-is-not-simply-a-decorator/ - Decorator and subclassing and good mentioning of common Liskov violation: https://stackoverflow.com/a/15231311
- Decorator and class hierarchy:
https://dzone.com/articles/is-inheritance-dead - Starting point: decorators in Python (nice and simple introduction into topic)
https://python-3-patterns-idioms-test.readthedocs.io/en/latest/PythonDecorators.html - A second introduction, but Angular:
https://ultimatecourses.com/blog/angular-decorators