Poltergeist (computer programming): Difference between revisions

Content deleted Content added
Citation bot (talk | contribs)
Alter: title, template type. Add: chapter-url, isbn, pages, chapter. Removed or converted URL. | Use this bot. Report bugs. | Suggested by Abductive | Category:Anti-patterns | #UCB_Category 16/32
Adding local short description: "Computer programming object", overriding Wikidata description "computer programming object"
Line 1:
{{Short description|Computer programming object}}
In [[computer programming]], a '''poltergeist''' (or '''gypsy wagon''') is a short-lived, typically [[State (computer science)|stateless]] object used to perform initialization or to invoke methods in another, more permanent class. It is considered an [[anti-pattern]]. The original definition is by Michael Akroyd 1996 - Object World West Conference:
:"As a [[Vardo (Romani wagon)|gypsy wagon]] or a [[poltergeist]] appears and disappears mysteriously, so does this short lived object. As a consequence the code is more difficult to maintain and there is unnecessary resource waste. The typical cause for this anti-pattern is poor object design." <!-- I think this is a quote -->