Introducing abstraction as the need requires
April 2nd, 2012The concept is simple, but its application is complicated. There is no metric for just how abstract a portion of code is, or how necessary or unnecessary the degree of abstraction a chunk of code is in the context of the problem it aims to solve. Perhaps the code needs to solve many problems, and a great degree of abstraction has merit, or perhaps the design is so bulky and complex the initial development time and long term maintenance overhead are staggering.