CSC/ECE 517 Fall 2012/ch2b 2w69 as: Difference between revisions

From Expertiza_Wiki
Jump to navigation Jump to search
Line 3: Line 3:


== Introduction ==
== 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 ==
== Motivation ==

Revision as of 21:33, 16 November 2012

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"