4 ms·
It would be helpful if you could provide specific things in the blog post that you don't agree with. I skimmed through it and it seemed reasonable.
by canttestthis 6y ago
It would be helpful if you could provide specific things in the blog post that you don't agree with. I skimmed through it and it seemed reasonable.
- tuxxy 6y agoThe example cited where they don't know what to return in their `divide` function if a division by zero occurs is nonsense. The answer is simple: let the `DivsionByZero` exception raise! You don't have to return anything! Better yet, you should have input cleansing/data validation before it gets to that point. The alternative presented in the blog post is absurd over-engineering.