a guest Nov 21st, 2017 54 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- 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