encyclopegia.org

Generation gap (pattern)

Generation gap is a software design pattern documented by John Vlissides that treats automatically generated code differently than code that was written by a developer. Modifications should not be made to generated code, as they would be overwritten if the code generation process was ever re-run, such as during recompilation. Vlissides proposed creating a subclass of the generated code which contains the desired modification. This might be considered an example of the template method pattern.

Generation gap is a software design pattern documented by John Vlissides that treats automatically generated code differently than code that was written by a developer. Modifications should not be made to generated code, as they would be overwritten if the code generation process was ever re-run, such as during recompilation. Vlissides proposed creating a subclass of the generated code which contains the desired modification. This might be considered an example of the template method pattern.

References

  1. Vlissides, John (1998-06-22). Pattern Hatching: Design Patterns Applied . Addison-Wesley Professional. pp. 85– 101. ISBN 978-0201432930 . Wikipedia revision 1369131768, retrieved 2026-11-19 · retrieved 2026-11-18 · rev 1369131768
    Cite this reference

    MLA "Vlissides, John (1998-06-22). Pattern Hatching: Design Patterns Applied . Addison-Wesley Professional. pp. 85– 101. ISBN 978-0201432930 . Wikipedia revision 1369131768, retrieved 2026-11-19." Vlissides, John (1998-06-22). 2026-11-18. http://www.informit.com/store/pattern-hatching-design-patterns-applied-9780201432930. Accessed 24 November 2026.

    Chicago "Vlissides, John (1998-06-22). Pattern Hatching: Design Patterns Applied . Addison-Wesley Professional. pp. 85– 101. ISBN 978-0201432930 . Wikipedia revision 1369131768, retrieved 2026-11-19." Vlissides, John (1998-06-22). 2026-11-18. http://www.informit.com/store/pattern-hatching-design-patterns-applied-9780201432930.

    APA Vlissides, John (1998-06-22). (2026). Vlissides, John (1998-06-22). Pattern Hatching: Design Patterns Applied . Addison-Wesley Professional. pp. 85– 101. ISBN 978-0201432930 . Wikipedia revision 1369131768, retrieved 2026-11-19. Retrieved November 24, 2026, from http://www.informit.com/store/pattern-hatching-design-patterns-applied-9780201432930

  2. Generation Gap · retrieved 2026-11-18 · rev 1369131768
    Cite this reference

    MLA "Generation Gap." Fowler, Martin. 2026-11-18. http://martinfowler.com/dslCatalog/generationGap.html. Accessed 24 November 2026.

    Chicago "Generation Gap." Fowler, Martin. 2026-11-18. http://martinfowler.com/dslCatalog/generationGap.html.

    APA Fowler, Martin. (2026). Generation Gap. Retrieved November 24, 2026, from http://martinfowler.com/dslCatalog/generationGap.html

Cite this article

MLA

"Generation gap (pattern)." encyclopegia.org, 2026, https://encyclopegia.org/wiki/generation-gap-pattern. Accessed 24 November 2026.

Chicago

"Generation gap (pattern)." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/generation-gap-pattern.

APA

encyclopegia.org. (2026). Generation gap (pattern). Retrieved November 24, 2026, from https://encyclopegia.org/wiki/generation-gap-pattern

Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

Focus-plus-context screen

enwiki · references available

Wendy Bucklew

enwiki · references available

Metailurus

enwiki · references available

Karl Hankton

enwiki · references available

Riachão das Neves

enwiki · references available

Lui Collins

enwiki · references available

Gustavo Nery

enwiki · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1369131768 · 0.5 · snapshot enwiki-001369131768

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.