OOAD Reading Notes (6): How to solve big problems

Source: Internet
Author: User

If you want to write only a few hundred linesCodeOfProgramYou can write it out quickly without designing it.

But what do you do if you want to write a code program with several million lines and tens of thousands of lines?

The level of programmers may only pass the big problem and the test of big projects can be seen.

The following is an analysis of how to solve big problems (large projects) from an object-oriented perspective)

 

1. fully communicate with customers and analyze what systems they really want. Future systems, such as CRM and HR, are not like ERP ).
2. Write the functions required by the user in a language that ordinary users can understand (for future confirmation) to form a basic URS
3. Create a blueprint for the system according to the requirements in section 2. Generally, use case divisor of UML is used.
4. In fact, major problems are caused by many small problems. The so-called Roman Empire was not built in one day. It is easy to understand and solve small problems (modules, classes, interfaces, pages ...)
5. Use the OO design mode to organize small problems (modules, classes, interfaces, pages.
6. Apply the OO design principles and use the code to reflect the details of each module.

The major problem is solved.

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.