Law of Demeter | Glossary

Definition :

The Law of Demeter or principle of least knowledge is a design guideline for developing software, particularly object-oriented programs. In its general form, the LoD is a specific case of loose coupling.

Further Reading :

Book : Applying UML and Patterns by Craig Larman.

 

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.