Onion Code

July 9, 2008   

Onion Code

Code that has many many unnecessary layers of encapsulation. Each time you peel a layer off, it makes you cry more. An example is some code I had to edit once, where there were 6 classes, all inheriting from each other, whose collective job it was to write an integer to a file.

attachment:onions.jpg||width=“50%”