4 ms·
FizzBuzz is famously hard, but it's not that hard Every time I see something like this, I cringe inside and wonder at how memes get distorted. FizzBuzz is not
by btilly 14y ago
FizzBuzz is famously hard, but it's not that hard
Every time I see something like this, I cringe inside and wonder at how memes get distorted.
FizzBuzz is not supposed to be hard. In fact it is supposed to be as EASY as you can possibly make an actual programming task. So easy that most programmers would have trouble believing that there are people calling themselves programmers who can't solve it in their sleep. Seriously if you know enough of a programming language to print output, run a loop, take remainders, and write if tests, then you can write FizzBuzz.
Put another way, if you can't write FizzBuzz, then you probably can't write ANY useful program. And your interview can safely stop right there because you failed.