Package design principle

zhaozj2021-02-16  90

Design principles of "agile software development - principles, patterns and practices"

Reuse issuance equivalent principle

The granularity of the reuse is the particle size released.

Common closure principle

All classes in the package should be commonly closed for changes in the same type of nature. If a change affects a report, it will affect all classes in the package, and no impact on other packets.

Common reuse principle

All classes in a package should be commonly reused. If you reuse a class in the package, you have to reuse all classes in the package.

Uncomplicated dependence: There is no ring in the rendering of the package.

Stable dependence principle

Depending on the stable direction

The abstract particle size of the stable abstract principles should be consistent with its stability.

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

New Post(0)