2 ms·
That's a simplified example that I grabbed in the middle of the book before the author refactors it, of course you shouldn't `panic` if you don't need to.
by satvikpendem 4y ago
That's a simplified example that I grabbed in the middle of the book before the author refactors it, of course you shouldn't `panic` if you don't need to.
- still_grokking 4y agoI've pointed this out as I think the follow-up problem is more difficult actually. It's easy to validate something "and just throw an exception". The fun starts when you can't do that (or don't want to do it like that).