|Synopsis:||Avoid duplicated code and data|
|Category:||Optimization and Performance|
When duplicating code and data makes the program unnecessary large, which can effect the overall performance of the system. More time will be spent in swapping programs in and out of memory. Furthermore, the code becomes harder to maintain, because when the code or data has to be changed, it has to be done at multiple source locations.
|ISC++ Rec 14.1|