OOP is definitely powerful, but great point about how objects can get messy over time unless you have guiding design patterns.

I’ll definitely be looking to implement the strategy pattern, as selecting algorithms at runtime seems like an interesting approach.

Top writer in Technology | Backend Web Developer | bennettgarner.com

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