Re:Software Design Patterns Are Not Goals, They Are Tools
by mixmastamyk on Thursday May 19, 2016 @02:12PM
(#11732306)
> Even the database access was abstracted out, so it could potentially use another DB at some point.
Did they use a library?
I once had the joy of witnessing a program I wrote being rewritten. Before the rewrite it was ~400 lines of Python written in the most obvious way possible without any abstraction overhead. You could easily scan the complete code and understand what happens. The rewrite was totally over-engineered, split up into a dozen files, organized into some inheritance hierarchy. Even the database access was abstracted out, so it could potentially use another DB at some point. It didn't improve anything at all but bloated the code by at least a factor of 2. But it was more "correct" according to some metric...