2009-09-22から1日間の記事一覧

The Open-Closed Principle (OCP) 開放閉鎖原則

開放閉鎖原則とは ソフトウェアの実体は、拡張に対して開いていなければならず、しかし一方で、変更に対しては閉じていなければならない。 Software entities (classes, modules, functions, etc.) should be open for extension, but closed for modificati…