开闭原则:
一个软件实体应当对扩展开放,对修改关闭。
该原则由Bertrand Meyer 提出:
Software entities should be open for extension,but closed for modification.
开闭原则:
一个软件实体应当对扩展开放,对修改关闭。
该原则由Bertrand Meyer 提出:
Software entities should be open for extension,but closed for modification.