Back in 2009, an answer mentioned the "garbage adapter pattern", in reference to what happens when you try and add tests to a legacy code base that you are not allowed to radically modify. I was unable to find any other mentions of this phrase. Does any have some guesses as to what it was intended to refer to?
Asked
Active
Viewed 103 times
1 Answers
2
There is no such actual coding pattern at all; the person answering just means someone has written code to 'adapt' some 'garbage' code to something usable.

Andrew Barber
- 39,603
- 20
- 94
- 123
-
ah: they mean the http://en.wikipedia.org/wiki/Adapter_pattern applied to garbage (i.e. the legacy code). – JesseW Dec 22 '10 at 22:44
-
1@JesseW - I hadn't considered it that way, but that's exactly right, yes! – Andrew Barber Dec 22 '10 at 23:05