
The Poltergeist Anti-Pattern – When Design Goes Bad
Best practices are like everything else. There are times to ignore or break the rules. The anti-pattern we cover in this episode results from not doing so. The poltergeist anti-pattern occurs when we have a bunch of infrastructure code that serves the design but is otherwise useless. When you are creating methods and classes solely as place-holders or pass-throughs, then you are feeding this anti-pattern. Defining the Poltergeist Anti-Pattern Once again, I found the best definition for our purposes in a blog article about anti-patterns. [Click Here to See The Page] “Useless classes with no real responsibility of their own, often used to just invoke methods in another class or add an unneeded layer of abstraction.“ You might think of... Read more