Bowling Game Kata Guard Clause
Let's build on the generic list refactor and
remove the else statements to create
guard clauses. The use of a guard clause is up for debate. Some believe
in the single entry, single
exit approach to writing methods. The great thing about Katas is that you
can experiment and see which you like best.