编码方式(Coding mode)

业务方式:

不断抽取可复用的业务逻辑,写到后期,可以越写越快。如果存在特定业务场景。就再原来的公用方法中,抽出特殊的方法。

框架方式:

提前设想好业务场景,设计好代码逻辑。

————————

Business mode:

Continuously extract reusable business logic and write it later, which can be written faster and faster. If there are specific business scenarios. We can draw out special methods from the original public methods.

Frame mode:

Envision the business scenario in advance and design the code logic.