At a prior job I was the person who asked candidates to write fizzbuzz, and it was much more of a filter than I ever would have suspected. One senior engineer, from a company you know, with a master’s in compsci, couldn’t write a for-loop for the life of ‘em. Another QA engineer wanted to write tests for their implementation by capturing stdout and comparing it to a hardcoded string.
Me: What if you want to test the output of 1,000,000,005?
Them: We could store the test output as a file on disk instead of a string!
Me: Well, ok, suppose you only want to test that one specific value and not all the others?
Them: Ah, got it! We could discard all but the last line of stdout and just look at that.
Me: Can you think of a way to structure your code so that we could just calculate the output of one single number without all the numbers before it?
Them: Uhhh...
Those are 2 examples out of many. I honest to god don’t know how some people managed to build their resumes while not knowing how to do the simplest thing in their field imaginable. Imagine you were interviewing cardiologists and a solid 1/3 of them had never heard of blood. What? How? How did you get to this point?
And that’s why I’d never hire someone until I’ve collected evidence that they personally can turn ideas into code. If you can’t wrap your brain around fizzbuzz, you’re gonna have a hell of a time when a customer gives you a change request.