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.
Add Comment
Please, Sign In to add comment