3 ms·
> If you have several such functions that can each fail, this approach means your "happy path" follows the deepening scope / indentation. In fact, I once had a
by AceJohnny2 3y ago
> If you have several such functions that can each fail, this approach means your "happy path" follows the deepening scope / indentation.
In fact, I once had an interview candidate approach a simple string parsing problem by checking each char in a nested scope, happily going a dozen deep and not seeing a problem!