Benefits of SOLID programming
As every automation engineer knows, automation systems can stay in production for decades on end. As every automation engineer also knows, during that time, the process will change, which will require new software, hardware will become obsolete and will need to be replaced, and so on, which, as you can guess, will require software modifications. As someone who has spent countless hours sifting through thousands of lines of code at a customer site for hours on end with multiple different employers, I can say that when it comes to architecture, the extra effort is worth it. Even when you’re working on well-organized and well-architected codebases, you’ll find that tracking down a single error can be quite daunting. When the codebase is poorly designed, tracking bugs can become a Herculean task.
When implemented properly, SOLID can produce code with the following qualities:
- Easier to debug
- Cheaper to maintain
- Easier...