3 ms·
Edges cases are what really matters in this case! Isn't there a saying that 80% of the code is written to handle 20% of the cases?
by brookhaven_dude 8y ago
Edges cases are what really matters in this case!
Isn't there a saying that 80% of the code is written to handle 20% of the cases?
- Stanleyc23 8y agobut the problem is that you need to properly resolve base cases before starting on edge cases. The fact that base case scenarios are not properly solved hints at major problems in execution.
- ltdanimal 8y agoI think you have that flipped. 20% of code covers 80%. As you try to get to 100% coverage of all possible scenarios the complexity gets in some cases exponentially harder as all the low hanging fruit is picked
- the-dude 8y agoNot specific to code : that is the Pareto principle.
- mdorazio 8y agoI like to think of it as an order of magnitude increase for each 9. Ex. If getting to 90% coverage takes 10 hours, getting to 99% will take 100, getting to 99.9% will take 1000, etc.