Open-Closed Principle

Open-Closed Principle

Das Open-Closed Principle ("Offen-Geschlossen Prinzip", kurz OCP) ist ein Prinzip beim Objektorientierten Entwurf von Software. Es beschäftigt sich mit der Erweiterbarkeit von bestehender Software.

Im allgemeinen wird das OCP beschrieben durch:

Software-Einheiten sollten offen für Erweiterungen, aber geschlossen für Modifikationen sein.

Mit Software-Einheiten sind hier Module, Klassen, Methoden etc. gemeint.


Wikimedia Foundation.

См. также в других словарях:

  • Open/closed principle — In object oriented programming, the open/closed principle states software entities (classes, modules, functions, etc.) should be open for extension, but closed for modification ;[1] that is, such an entity can allow its behaviour to be modified… …   Wikipedia

  • Open list — Part of the Politics series Electoral methods Single winner …   Wikipedia

  • Open source software development — is the process by which open source software (or similar software whose source code is publicly available) is developed. These are software products “available with its source code and under an open source license to study, change, and improve… …   Wikipedia

  • Open Data — is a philosophy and practice requiring that certain data are freely available to everyone, without restrictions from copyright, patents or other mechanisms of control. It has a similar ethos to a number of other Open movements and communities… …   Wikipedia

  • Open source software security — is the measure of assurance or guarantee in the freedom from danger and risk inherent to an open source software system. Contents 1 The debate 1.1 Benefits of open source security 1.2 Drawbacks of open source security …   Wikipedia

  • Open problem — Open question redirects here. For information on open ended questions, see closed ended question. In science and mathematics, an open problem or an open question is a known problem that can be accurately stated, and has not yet been solved (no… …   Wikipedia

  • principle — principle, axiom, fundamental, law, theorem are comparable when they denote a proposition or other formulation stating a fact or a generalization accepted as true and basic. Principle applies to a generalization that provides a basis for… …   New Dictionary of Synonyms

  • Open Access — Open Access.net Logo Als Open Access (englisch für offener Zugang) wird der freie Zugang zu wissenschaftlicher Literatur und anderen Materialien im Internet bezeichnet. Ein wissenschaftliches Dokument unter Open Access Bedingungen zu publizieren… …   Deutsch Wikipedia

  • Open source — This article is about the production and development model. For its application to software, see Open source software. For the form of intelligence collection management, see Open source intelligence. For other uses, see Open source… …   Wikipedia

  • Open-source software — The logo of the Open Source Initiative Open source software (OSS) is computer software that is available in source code form: the source code and certain other rights normally reserved for copyright holders are provided under a software license… …   Wikipedia


Поделиться ссылкой на выделенное

Прямая ссылка:
Нажмите правой клавишей мыши и выберите «Копировать ссылку»