TICS Coding Standard Viewer 
TIOBE Software Quality Framework
Print-friendly version
©TIOBE Software www.tiobe.com
 
C++ Coding Standard
Search

Rule:  OPT#001

Synopsis:Avoid duplicated code and data
Language:C++
Severity Level:4
Category:Optimization and Performance


Description:

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.



Literature References:
ISC++ Rec 14.1