The design follows the Open Closed Principle if you can extend the system by swapping out implementations of IDataSource without making any change to the BusinessProcess class.
如果你可以通过实现IDataSource对这个系统进行扩展并且不对BusinessProcess类做任何的修改,那么这个设计就遵循了开闭原则。
This system combines results of day-to-day class work and final test scores, minimizing the drawbacks in traditional closed, standardized writ…
它把平时成绩和期末考核成绩有机结合起来,既克服了传统标准化考试即闭卷笔试的弊端,又弥补了开卷考试的不足。
应用推荐