Learn now: https://edu.csdn.net/course/play/28942/403590?utm_source=blogtoedu
- Single responsibility: a class, interface, and method are only responsible for one responsibility; define an interface for cooking, an interface for eating, and then a class implements the above two interfaces at the same time
- As we often use to pass a handleType to distinguish between operations such as [Report] [Return] [Recover], it is actually not in line with a single responsibility