検索結果- 英語 - 多言語
検索内容:
open-closed principle
(programming, object-oriented programming) A principle that states that software entities (such as classes, modules, and functions) should be open for extension, but closed for modification.
ソフトウェアの構造が、既存のコードへの変更なしに拡張可能であるべきという原則。特にオブジェクト指向プログラミングにおいて、クラス、モジュール、関数などのソフトウェア要素が新たな要求に対応できるように設計されるべきであり、既存の動作を壊さずに機能を追加できることを重視する考え方。
single responsibility principle
interface segregation principle
(programming, object-oriented programming) principle that states that once an interface has become too large, it needs to be split into smaller and more specific interfaces so that any client of the interface will only know about the methods that pertain to itself. (In other words: no client should be forced to depend on methods it does not use.)
インターフェース分離の原則: インターフェースが大きくなりすぎると、利用するクライアントが不要なメソッドまで知ってしまうため、各クライアントが必要とする機能に限定して、インターフェースをより小さく、明確に分割すべきであるという設計原則です。