33 ms·
Looping through a list of items, and doing different operations based on their value is an extremely common occurrence, and you’d hard pressed to find a codebas
by randomchars 5y ago
Looping through a list of items, and doing different operations based on their value is an extremely common occurrence, and you’d hard pressed to find a codebase that doesn’t use that pattern somewhere.
- jmchuster 5y agoWelp, this is why interview fizzbuzz exists, because some people think of it as "software bullshit" instead of the simplest possible program you can imagine that should come out as fast as you can type it.