do you fail at FizzBuzz? simple prog test

Matthew Woodcraft mattheww at chiark.greenend.org.uk
Tue May 13 15:11:38 EDT 2008


Gabriel Genellina <gagsl-py2 at yahoo.com.ar> wrote:
> I would like to write a similar problem without this non-programming  
> distracting issues (that is, a problem simple enough to be answered in a  
> few minutes, that requires only programming skills to be solved, and  
> leaving out any domain-specific knowledge).

Another reason not to like the FizzBuzz example is that it's quite
closely balanced between two reasonable approaches (whether to just
special-case multiples of 15 and say 'FizzBuzz', or whether to somehow
add the Fizz and the Buzz together in that case). The interviewee might
reasonably guess that this distinction is what's being tested, and get
unnecessarily stressed about it.

-M-




More information about the Python-list mailing list