摘要:
Clients should not be forced to depend on methods that they do not use. 阅读全文
posted @ 2007-02-05 12:46
南守拥
阅读(321)
评论(1)
推荐(0)
摘要:
a.High-level modules should not depend on low-level modules.Both should depend on abstractions.b.Abstractions should not depend on details.Detils should depend on abstractions. 阅读全文
posted @ 2007-02-05 12:39
南守拥
阅读(286)
评论(1)
推荐(0)
摘要:
Subtypes must be substitutable for their base types. 阅读全文
posted @ 2007-02-05 12:33
南守拥
阅读(310)
评论(0)
推荐(0)
摘要:
Software entities (class,modules,functions,etc.) should be open for extension,but closed for modification."Open for extension.":This means that the behavior of the module can be extended.As the requir... 阅读全文
posted @ 2007-02-05 12:28
南守拥
阅读(266)
评论(1)
推荐(0)
摘要:
A class should have only one reason to change. 阅读全文
posted @ 2007-02-05 12:16
南守拥
阅读(214)
评论(1)
推荐(0)
摘要:
Regidity--The system is hard to change because every change forces many other changes to other parts of the system. Fragility--Changes cause the system to break in places that have no concept... 阅读全文
posted @ 2007-02-05 12:05
南守拥
阅读(204)
评论(1)
推荐(0)

浙公网安备 33010602011771号