Good article. However, correct me if I'm wrong, but the provided FizzBuzz implementation appears to be incorrect. On multiples of 15, the provided solution would print "FizzBuzz Fizz Buzz".
EDIT: the author fixed it after I posted. The original example had no elses or else ifs.
I never heard of it. Maybe because I am not from the US or because I never actually interviewed for a developer position, but I don't understand how this example can be challenging to someone who wants to work in this field.
28
u/cgaudreau senior HTML9 engineer Mar 09 '15 edited Mar 09 '15
Good article. However, correct me if I'm wrong, but the provided FizzBuzz implementation appears to be incorrect. On multiples of 15, the provided solution would print "FizzBuzz Fizz Buzz".
EDIT: the author fixed it after I posted. The original example had no elses or else ifs.