Created
January 25, 2014 06:31
-
-
Save seyedi/8612597 to your computer and use it in GitHub Desktop.
Two rules that keep your code readable and maintainable(OO)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Keep the things that change together as close as possible and try to decouple them as much as possible from other functionalities. | |
- Do not let your objects know too much about the insides of other objects. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment