News for hackers. Stuff that matters.
Re:Show HN: The Fizz Buzz T-Shirt. by smarx on Sunday August 26, 2012 @04:17AM (#4434640)
I like the idea of a T-shirt with a FizzBuzz solution on it.

That said, the code on this shirt isn't actually a correct solution to FizzBuzz.

Even ignoring the extra lines of output ("##is divisible by X," with a missing space), on numbers like 15, this program prints "fizz" and then "buzz" and then "FizzBuzz" (instead of just "FizzBuzz.")

Unless there's some intentional irony I'm missing, I would suggest fixing the code.

Re:Show HN: The Fizz Buzz T-Shirt. by orangethirty on Tuesday August 28, 2012 @06:37PM (#4446236)
It is intentional. The t-shirt is meant to be funny.