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.[1] Vlissides proposed creating a subclass of the generated code which contains the desired modification.[2]
References
- ↑ Fowler, Martin. "Generation Gap". http://www.martinfowler.com/''. Retrieved 9 August 2014.
- ↑ Vlissides, John (1998-06-22). Pattern Hatching: Design Patterns Applied. Addison-Wesley Professional. pp. 85–101. ISBN 978-0201432930.
This article is issued from Wikipedia - version of the Sunday, August 24, 2014. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.