Calisthenics

Rule 1: Only One Level Of Indentation Per Method

Rule 2: Don’t use “Else” keyword

Rule 3: Wrap All Primitives And Strings

Rule 4: First Class Collections

Rule 5: One Dot or -> Per Line

Rule 6: Don’t Abbreviate

Rule 7: Keep All Entities Small

Rule 8: No Classes With More Than Two to Five Instance Variables

Rule 9: No Getters/Setters