There's this simple programming exercise meant to see if a programmer can follow simple directions, called Fizz Buzz. The program is to print, one to a line, the numbers from 1 to 100. If a number is evenly divisible by 3, print instead "Fizz". If it is evenly divisible by 5, print instead "Buzz". And if it is evenly divisible by both 3 and 5, print the string "FizzBuzz".
There's a simple way to do it -- and then there's the CORPORATE way to do it. As shown here in FizzBuzz Enterprise Edition. You'll never look at a design pattern the same way again. #FizzBuzz