a guest Nov 21st, 2017 55 Never
- 1. Single Responsibility Principle - Do one thing and do it well(Unix)
- - Every function you write should do exactly one thing. It should have one clearly defined goal.
- 2. Open-Closed Principle - modules should be open to extension, but closed to modification.
- Meaning that if someone wants to extend our module’s behavior, they won’t need to modify existing code if they don’t want to.
RAW Paste Data