CSC/ECE 517 Fall 2012/ch2b 2w69 as

From Expertiza_Wiki
Jump to navigation Jump to search

The Open/Closed principle

Introduction

In object-oriented programming the open/closed principle states,

Software entities (Classes, Modules, Functions, etc.)should be open for extension, but closed for modification

Motivation

Description

Examples

Conclusion

See Also

References

[1] Open/closed principle

[2] "The Open-Closed Principle", C++ Report, January 1996"

[3] "Patterns in Practice: The Open Closed Principle"