Created
December 8, 2012 14:50
-
-
Save sandromancuso/4240549 to your computer and use it in GitHub Desktop.
Object Calisthenics Rules
This file contains 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
The Rules | |
1. One level of indentation per method | |
2. Don’t use the ELSE keyword | |
3. Wrap all primitives and Strings | |
4. First class collections | |
5. One dot per line | |
6. Don’t abbreviate | |
7. Keep all entities small (50 lines) | |
8. No classes with more than two instance variables | |
9. No getters/setters/properties |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment