OCP:开闭原理
“开闭原则”(Open Closed Principle,简称OCP),是为了方便书写和使用而常用的缩写。这一软件设计原则强调软件实体应对扩展开放、对修改关闭,广泛应用于软件开发及系统架构设计中,是面向对象设计的重要基础理念之一。
Open Closed Principle具体释义
Open Closed Principle的英文发音
例句
- So, did this solution conform to the Open Closed Principle(OCP)?
- 那么,这个解决方案遵守了开闭原则么?
- I 'd like to start with a discussion of the Open Closed Principle(OCP) and other related ideas popularized by Robert C.Martin in his book, Agile Software Development, Principles, Patterns, and Practices.
- 我喜欢以讨论开闭原则和其他由RobertC.Martin在其著作《敏捷软件开发,原则,模式和实践》中所倡导的相关主题作为开始。
- If a class that uses an abstraction has to downcast to a specific subclass in one section, you're not following the Open Closed Principle(OCP).
- 如果在某一部分中,一个抽象了的类必须向下转换为特定的子类,那么你就没有遵循开闭原则。
- To paraphrase, the Open Closed Principle(OCP) is stated as : software entities should be open for extension but closed for modification.
- 我来解释一下开闭原则,它的意思是:软件实体应该对于扩展是开放的,而对于修改是关闭的。
- You may not always manage to write code that satisfies the Open Closed Principle(OCP) in every aspect, but even moving partway there can be beneficial.
- 你可能并非总是试图写一些在各个方面都满足开闭原则的代码,但是即使只进行到中途也是非常有益的。
本站英语缩略词为个人收集整理,可供非商业用途的复制、使用及分享,但严禁任何形式的采集或批量盗用
若OCP词条信息存在错误、不当之处或涉及侵权,请及时联系我们处理:675289112@qq.com。