Blog Archives

The Chain of Responsibility Pattern – Or how to over engineer FizzBuzz

What is FizzBuzz Write a program that prints the numbers from 1 to 100. But for multiples of three print “Fizz” instead of the number and for the multiples of five print “Buzz”. For numbers which are multiples of both

Tagged with: ,
Posted in Design Patterns, TDD

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 13 other subscribers