The proliferation of if/else/switch statements is a common problem in software systems. The fact that they are replicated in many places is problematic because when such statements are inevitably changed, it is easy to miss some. This leads to fragile systems. It’s the dependency structure that is a worse problem. The solution

4m read timeFrom blog.cleancoder.com
Post cover image

Sort: