DEV Community

Letting Go of the Edge Cases

Beekey Cheung on October 08, 2017

Someone once mentioned that he enjoys reading my articles because they are to the point. The reason for that is because I often leave out edge case...
Collapse
 
mindlace profile image
Ethan Fremen

I would submit that if your code grows too many edge cases, it’s a sure sign you’re modelling the problem domain poorly, and you need to step back and attempt a refactoring.