Magical creatures in Harry Potter harbor an attraction to imagery morbid and melancholy. Ghosts are very sensitive about their condition: when the Ministry initially classified them as sentient creatures with full legal rights, they claimed that the term was insensitive and received a separate "Spirit Division", apparently to control the activities and haunting locations of troublesome ghosts (as when Myrtle was forced to haunt the place of her death (Hogwarts) after she had disrupted the wedding of the brother of Olive Hornby, a girl who had teased her at school). Named Ghost characters: Peeves, the Hogwarts poltergeist, is not considered a ghost, but an "indestructible
Poltergeist (computer programming) Command pattern, and the programmer anticipates separating the two phases. However, this more complex architecture may actually never materialize. 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 or as a mixin. Poltergeist (computer programming) In computer programming, a poltergeist (or gypsy wagon) is a short-lived, typically stateless object used to perform initialization or to invoke methods in another, more permanent class. It is considered an anti-pattern. The original definition