Occam’s Razor
Occam’s Razor advises choosing the simplest solution or explanation when multiple viable options exist. Do you have two ways to build a system? Pick the one that can be easily explained and understood. Avoid over-engineering. Less complexity means we can minimise potential bugs and ease debugging and maintenance. When debugging or finding the root cause of an issue, Occam’s Razor reminds us first to suspect the most apparent explanation. You might devise an elegant but complicated algorithm when designing a solution for your problem instead of going for the easier one. It is worth reflecting on the dependencies and costs of such a decision (time, effort, maintenance, etc).