2 ms·
Edge cases? You mean we can't test for leap year by simply checking if the year is a multiple of four?
by DannyB2 8y ago
Edge cases? You mean we can't test for leap year by simply checking if the year is a multiple of four?
- koolba 8y agoNo that’s a silly example. I meant more for dealing with edge cases like an external API invocation failing. A final “correct” implementation would need to handle failures but an initial simple one would only handle success.