Poltergeist (computer programming): Difference between revisions

Content deleted Content added
removing poltergeist
No edit summary
Line 8:
Poltergeists should not be confused with long-lived, state-bearing objects of a [[pattern]] such as [[Model-view-controller]], or tier-separating patterns such as [[Business-Delegate]].
 
To remove a poltergeist, delete the class and insert its functionality in the invoked class, possibly by [[Inheritance (computer science)|inheritance]] or as a [[Mix-InMixin]].
 
Poltergeists are examples of an [[anti-pattern]].