An appropriate way to do this is to think of the Single Responsibility Principle.
单一职责原则是一个好方法。
I'd say that the very first step is to follow the Single Responsibility Principle.
我想说的第一步就是遵循单一责任原则。
The point of the Single Responsibility Principle isn't just to write smaller classes and methods.
单一责任原则的要点不仅仅是写一些更小的类和方法。
应用推荐