Object-oriented Fizz Buzz
I was having some fun with the FizzBuzz kata and wanted to share an object-oriented (OO) solution I was playing about with. I wanted to see what FizzBuzz would be like if a number range and each rule were objects. If you’ve done FizzBuzz before then I’m sure you’ve seen something along the lines of the following which is a typical...