Skip to content

Instantly share code, notes, and snippets.

@seyedi
Created January 25, 2014 06:31
Show Gist options
  • Save seyedi/8612597 to your computer and use it in GitHub Desktop.
Save seyedi/8612597 to your computer and use it in GitHub Desktop.
Two rules that keep your code readable and maintainable(OO)
- 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