Published at: 06:09 am - Sunday September 25 2011
If you have to deal with legacy code (and we all do) one of the standard techniques to deal with it is to hide it behind a layer of abstraction. While this is a valid pattern that helps in many cases, it comes with its own anti pattern. I call it Legacy in an Onion. [...]
Published at: 06:09 am - Sunday September 18 2011
Ever found more broken things in a project than you possible could fix in one go? I’m exactly in that situation. We have a test which checks for certain dependencies in our project. The problem: We discovered that the test was broken and didn’t report all disallowed dependencies. We do know how to fix it, [...]
Published at: 06:09 am - Sunday September 11 2011
Many of us groan when they have to deal with legacy code. Especially those among us who fancy themselves to be craftsmen or clean coders often complain about long convoluted classes and methods, no tests and a tangle of dependencies. I wrote before that you should shy away from the temptation to rewrite a legacy [...]