Hacker News new | ask | show | jobs
by danuker 1467 days ago
If a candidate were suggesting this as their serious FizzBuzz implementation fit for production, I'd have a hard talk with them about readability.
3 comments

If an interviewer had a "hard talk" about anything during an interview, i'd have an immediate hard walk.
If I couldn't convince you to walk back and finish the interview, I'd say that was a hard balk.
Curious, why? If I'm interviewing, I like to receive feedback if I'm not good enough for the role. I also return the courtesy
What implementation of FizzBuzz do you use in your production environment?
No microservices, not nearly Enterprish enough:

https://github.com/domdavis/fizzbuzz

"FizzBuzz split into a set of 4 microservices designed to be run as a fleet of docker images for highly concurrent, highly resilient deployment."

Obviously outsourced to a 'competent' FBaaS provider!

https://fizzbuzz.ketzu.net/to/100

(Also fun when you just outsource task in a language introduction task in a leetcode-like setting and get surprised it actually allowes you to make http requests...)

A bug-free one (nonexistent). :)

In seriousness, the interview is supposed to give a taste of how the candidate thinks and codes in general. If they start using every obscure language feature under the sun, I am not too sure they got the idea.

Do you seriously believe, that someone who can write stuff like this can’t write ordinary code?
There are a lot of leetcoders who can't work in a team.

Maybe they work well on their own, or maybe their solutions collapse when given a problem of a complexity greater than the leetcode problems.

we just hardcoded the solutions for 1 to 100 manually. It's been fine so far.
The point of fizzbuzz is to figure out if you are not a rock. If you cant figure out how to code fizzbuzz from basic 8th grade logic something is wrong.
Enterprise FizzBuzz or go home!

Realistically this is an appropriate joke answer to a joke question.