Loading

几个设计原则

单一权责原则SRP--Single Responsibility Principle

开放闭合原则OCP--Open Close Principle

别重复自己DRY--Don't Repeat Yourself

最小惊异原则The Principle of Least Surprise/The Principle of Least Astonishment

posted @ 2014-01-14 22:01  gamesun  阅读(448)  评论(0编辑  收藏  举报