Software design thinking: software should be able to increase or decrease

Source: Internet
Author: User

After many "frameworks" are designed, You need to carry the burden of the entire framework. This is not good.

The software should be able to remove unnecessary functions from the user's choice. A good software design should be able to increase or decrease.

In this sense, the. net dll encapsulation mode is not as good as the Java class + jar zip package mode. A dll is a large package and may contain many classes that are not usable. As an object-oriented encapsulation mode, it makes sense to refine it to the class. Assume that yourProgramIf you only use a framework class, you only need to include the class file of the class, then include the reference of the class itself, and so on.

For example, a subclass requires the relevant base class and the class to which it is used.

If programmers of this type follow the more standardized object-oriented principles, it is foreseeable that it will not be useful at all.Code.

Therefore, there is hope to streamline the software capacity.

It can be reduced, indicating that the software is well modularized and it is not difficult to increase.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.