;-)

I’m serious, don’t become Don Quichotte. If your if-statements and switches are really as big as your examples, I suspect there is an issue at architecture level with your system. No design pattern will fix that if you don’t identify and revisit that problem first.

Independent Software architect, trainer and coach at Delphino Consultancy (http://www.delphino-consultancy.nl)

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store