Skip to content

Commit

Permalink
Updates chapter9/README.md
Browse files Browse the repository at this point in the history
Auto commit by GitBook Editor
  • Loading branch information
maryrosecook committed Jan 16, 2018
1 parent 0ac50c2 commit 4d2b0de
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion chapter9/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -482,4 +482,8 @@ Here are some helpful rules of thumb to picking the right abstraction when writi
1. Can you name your method in a simple way, without using the word 'and'? Does it do one thing, and nothing more?
2. Can you name your method after what it returns, instead of what it does? For instance, `average(test_scores)` is a better name than `averages_scores(test_scores)`. For another example, `score(hand)` is a better method name than `scores_cards(hand)`.

If you can answer 'yes' to both 1 and 2, your method is more likely to be a good one.
If you can answer 'yes' to both 1 and 2, your method is more likely to be a good one.

## Complete the mastery quiz for chapter 9

Use your mastery quizzes repository to complete the quiz for chapter 9.

0 comments on commit 4d2b0de

Please sign in to comment.