摘要: 设计模式的其中三个设计原则:1.Program to an interface, not animplementation. 接口与实现2.Favor composition over inheritance. 组合与继承3. Encapulate what vari... 阅读全文
posted @ 2015-03-04 17:17 wiessharling 阅读(155) 评论(0) 推荐(0) 编辑