OCP:开闭原理

“开闭原则”(Open Closed Principle,简称OCP),是为了方便书写和使用而常用的缩写。这一软件设计原则强调软件实体应对扩展开放、对修改关闭,广泛应用于软件开发及系统架构设计中,是面向对象设计的重要基础理念之一。

Open Closed Principle具体释义

  • 英文缩写:OCP
  • 英语全称:Open Closed Principle
  • 中文意思:开闭原理
  • 中文拼音:kāi bì yuán lǐ
  • 相关领域ocp 未分类的

Open Closed Principle的英文发音

例句

  1. So, did this solution conform to the Open Closed Principle(OCP)?
  2. 那么,这个解决方案遵守了开闭原则么?
  3. 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.
  4. 我喜欢以讨论开闭原则和其他由RobertC.Martin在其著作《敏捷软件开发,原则,模式和实践》中所倡导的相关主题作为开始。
  5. 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).
  6. 如果在某一部分中,一个抽象了的类必须向下转换为特定的子类,那么你就没有遵循开闭原则。
  7. To paraphrase, the Open Closed Principle(OCP) is stated as : software entities should be open for extension but closed for modification.
  8. 我来解释一下开闭原则,它的意思是:软件实体应该对于扩展是开放的,而对于修改是关闭的。
  9. 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.
  10. 你可能并非总是试图写一些在各个方面都满足开闭原则的代码,但是即使只进行到中途也是非常有益的。