Hogwarts staff of the Marauder's Map (the Weasley twins, Harry, Ron and Hermione), and Voldemort himself. He tends to favor almost sadistically harsh punishments, and gleefully allies himself with Umbridge when she prescribes such punishments on students. He has an obsessive dislike of mud, animate toys, and all other things that might interfere with his desire for an immaculately clean and orderly Hogwarts. He is also portrayed as having a constant antagonism towards Peeves the poltergeist and often tells Dumbledore that Peeves should be thrown out of Hogwarts. He also likes to wander Hogwarts corridors at night, presumably in the hope of
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