by papsosouid · 13y ago · 0 comments
Someone who is obsessive wouldn't like their off the cuff solutions to FizzBuzz. They would think of a solution and stop themselves from writing anything at all.
How would you tell the difference between someone who doesn't want to write their first three solutions, to someone who can't think of even one?
Microsoft's "implement strcmp without the use of libraries" doesn't have this property. strcmp has an easy and clean solution.
FizzBuzz doesn't filter anyone, the people using it do. It is not difficult to explain the purpose of the exercise, and that easily resolves the problem for people looking for "clean" solutions.