“告知,不要问”被认为是一个很好的面向对象设计原则。
"Tell, don't ask" is considered a good principle of object-oriented design.
在这本书中,Uncle Bob给我们介绍了这两个概念,并且带我们了解面向对象设计原则,以及如何在敏捷项目中使用它们。
In this book Uncle Bob brings together the two and gives a developer a tour DE force of object-oriented design principles and an insight on how to use them on an Agile project.
这两个职责分配原则在完成良好的面向对象设计的方面扮演了主要角色:高内聚和低耦合。
Two responsibility assignment principles play a major role in achieving good object-oriented design: high cohesion and low coupling.
应用推荐