从www.infoq.com上看到一篇文章,讲的是一个高效程序员五个好习惯,特摘录如下:
1.Constructor Performs Minimal Work(不要让构造函数太累着)
2.Methods Clearly Convey Their Intent(人如其名)
3.An Object Performs a Focused Set of Services(不要狗拿耗子多管闲事)
   how to categorize these object is worthy of considering.(entity object,service object,facade object)
4.State-Changing Methods Contain Minimal Behavior Logic(是非分明,不要纠缠不清)
   determine the boundary is a litttle difficult.
5.Behavior Methods Can Be Called in Any Order(让依赖离我们远点)
   个人觉得3,4,5体现的是如何划分领域模型和领域对象职责划分的问题.我想Martin flower的SRP应该是我们应该遵守的原则之一.其它的暂时没有想到啊,大家有建议么?