Object development principle

xiaoxiao2021-03-06  38

Object development principle

In these phases, some of the principles needed to consider the development class:

1) Let a special problem generate a class and then make this class grow and mature when understanding other problems.

2) Remember, find the required class, is the main content of the design system. If there are already those classes, this project is not

Difficult.

3) Don't force yourself that you know everything at the beginning, you should continue to learn.

4) Start programming, allowing some to run so that you can prove or refute the generated design. Don't be afraid of process language

Code - class segmentation can control them. The bad class does not destroy the class.

5) Try to remain simple. The less clear object with obvious use is better than a very complex interface. We can always be available from small

Start with a simple class, when we have better understanding of it, it will expand this type of interface, but it is impossible to simplify existing classes.

interface.

转载请注明原文地址:https://www.9cbs.com/read-75201.html

New Post(0)