OO Software Design Principles

2019-01-31 04:40发布

I am a huge fan of software design principles such as SOLID and DRY. What other principles exist for OO software design?

Note. I’m not looking for answers like "comment your code" but instead looking for OO design principles like the ones discussed by Uncle Bob.

8条回答
孤傲高冷的网名
2楼-- · 2019-01-31 05:29

The GRASP patterns. Yes, they seem rather trivial. More like distillation down to core qualities that other, more involved patterns demonstrate.

查看更多
老娘就宠你
3楼-- · 2019-01-31 05:30

High Cohesion - How focused are the responsibilities of the modules you are designing.

Low Coupling - The degree to which modules rely on other modules.

查看更多
登录 后发表回答