Head first OOA/d Reading Notes (1)

Source: Internet
Author: User

Three steps for developing excellent software:

1,Develop the desired Software

First, the software must meet all user needs.

When the developed software has not completed the basic requirementsOO princleIt will be a waste of time to add and change features

2,Application-Based Object-Oriented principles to increase software Elasticity

Use a text description of the problem to be resolved to determine whether your design meets the actual software features

Objects should be the intent of the objects whose names are displayed

Each object should represent a single concept (with a single type of responsibility rather than a combination of multiple types of responsibility)

An object often has a null attribute orNullAttribute. This object may have multiple responsibilities.

Encapsulation allows you to applyProgramBreak down into logic Blocks

You can see repeatedCodeAnd try to encapsulate them.

3,ApplicationOod princleTo increase application elasticity and reusability

Encapsulation: breaks down different parts of the application so that you can change one part without having to change another part.

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.