I feel like the 5 lines per method is the hardest to follow. In general, I have been trying to follow this rule since about halfway through mod 1, mostly with success, but sometimes I just can't find a way around it. They are correct in that I usually get stuck when I have an if/else situation in which it's difficult to pair down the internals to one line each. However, I also find it difficult to stay under 100 lines in a class sometimes when I have a class that I have a lot of methods for. I think I just need to spend more time refactoring classes to have a single responsibility to meet this rule.
Created
March 18, 2016 14:41
-
-
Save ToniRib/54862ecac31aa8082f44 to your computer and use it in GitHub Desktop.
Sandi Metz's Rules for Developers Reflections
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment