2016年4月17日星期日

小话设计模式原则之(4):开闭原则OCP


Linux伊甸园开源社区-24小时滚动更新开源资讯,全年无休! --原文出处: 懒得安分 一、原理介绍 1、官方定义 开闭原则,英文缩写 OCP ,全称Open Closed Principle。 原始定义:Software entities (classes, modules, functions) should be open for extension but closed for modificat
阅读全文 | 邮件推荐 | 评论回复 http://ift.tt/1WzPnSv

没有评论:

发表评论