Sometimes too much abstraction can lead to design problems, but in this case it allows you to separate the problem into more reusable pieces.
有时,太多的抽象会导致设计问题,但是在此例中,它允许您将问题分离为更多可重用的部分。
We can separate an orange into 10 or 12 pieces.
我们能把一个橘子分成10至12片。(不可用divide…into…)。
This approach helps to logically separate the data structure into the pieces that are logically related.
这个方法有助于在逻辑上将数据结构分离到逻辑上相关的部分。
应用推荐