Open–closed principle | Glossary

Definition :

In object-oriented programming, the open/closed principle states “software entities should be open for extension, but closed for modification”; that is, such an entity can allow its behaviour to be extended without modifying its source code.

Further Reading :

Book : Applying UML and Patterns by Craig Larman.

 

Lazy initialization | Glossary

Definition :

In computer programming, a code smell is any characteristic in the source code of a program that possibly indicates a deeper problem. Determining what is and is not a code smell is subjective, and varies by language, developer, and development methodology.

Further Reading :

Book : Applying UML and Patterns by Craig Larman.