Content deleted Content added
No edit summary |
A bit iffy (talk | contribs) Unnecessary capitalisation |
||
Line 6:
A poltergeist can often be identified by its name; they are often called "manager_", "controller_", "supervisor", "start_process", etc.
Sometimes, poltergeist classes are created because the programmer anticipated the need for a more complex architecture. For example, a poltergeist arises if the same method acts as both the ''client'' and ''invoker'' in a [[
Poltergeists should not be confused with long-lived, state-bearing objects of a [[pattern]] such as [[
To remove a poltergeist, delete the class and insert its functionality in the invoked class, possibly by [[Inheritance (computer science)|inheritance]] or as a [[mixin]].
|