
Episode 27 · Season 14
Keep It Simple - Avoid Complex Object-Oriented Designs
About this episode
Software developers are known for many traits. Unfortunately, one of those is ignoring the keep it simple philosophy. We tend to "show off" our prowess through complex designs and implementations. However, those rarely are the best ones in terms of maintainability and even performance. Simplicity has its benefits.
Keep It Simple - Direct Is Better
While there is a value in the "scenic route" when we are out for a leisurely drive, it is not the most effective way to travel. The same concept applies to our designs and solutions. The direct solution is often the best, even though it may sacrifice scalability or its ability to be applied in a general fashion. When we focus on highlighting our design skills, we often end up with a solution looking for a problem. That is not a mindset that servers our customers.
Solve The Problem First
Therefore, we should always start our design with a focus on the problem. The starting point should be the solution and then map that to an object-oriented design. If we focus on the OOD, we may inadvertently attempt to cram a square peg in a round hole. This thought takes us back to the agile manifesto. The number one goal of our solution should satisfy the customer. While a solid design is valuable, it is a means to an end, not the end itself.
Opportunity-Based Design
When we start with a solution and then translate it to an object-oriented form, we are taking advantage of opportunities. There are opportunities to improve our solution through OOD. A good design makes use of these. Thus, our solution dictates where OOD may be useful. We can take advantage of those without using all of the features OOD provides us. It is like many things in life. Just because we can does not equate to "we should." For example, our car can go faster than the speed limit. However, there are many cases and reasons not to push the car beyond that limit.
More from Develpreneur: Become a Better Developer and Entrepreneur
A handful of people love your MVP. Their suggestions keep coming, and AI helps you turn those requests into working features quickly. The product is growing. Whether it is growing in the right directi…
Your team can generate an interface faster than ever. Meanwhile, customers are still staring at confusing error messages, waiting for pages to load, and trying to figure out what happens after they cl…
After a year of deadlines, long hours, and projects that seemed determined to last forever, Thanksgiving offers a chance to pause and enjoy what all that effort has made possible. In this Thanksgiving…
The holiday is almost here, but your brain is still at work. There is something to finish, something to check, and probably something you could squeeze in before everyone arrives. Closing the laptop s…
Building a successful business requires more than developing a great product. As companies grow, they face new challenges involving customer expectations, operational efficiency, financial decisions,…