clean_code
Table of Contents
Clean code
Strong cohersion - loos copling. Alias Law of Demeter.
Interfaces between objects should be defined clearly, and there should be as few as possible. So that dependencies may be exchanged easily.
Alias Law of Demeter
A method of an object may only call methods of:
- The object itself.
- An argument of the method.
- Any object created within the method.
- Any direct properties/fields of the object.
clean_code.txt · Last modified: 2020/12/27 20:35 by 127.0.0.1