Difference between revisions of "Cpp Coding Standards/DESIGN/PremGen"

From Apache OpenOffice Wiki
Jump to: navigation, search
m (Reverted edits by St (Talk); changed back to last version by Zhangxiaofei)
 
Line 1: Line 1:
 
Code that generalizes without a need is unnecessarily complex and harder to maintain.
 
Code that generalizes without a need is unnecessarily complex and harder to maintain.
 
So do not consider generalization, before there is indeed a second occurrence. At the third it is probably a good idea.
 
So do not consider generalization, before there is indeed a second occurrence. At the third it is probably a good idea.
 +
[[Category:Coding Standards]]

Latest revision as of 17:08, 14 December 2009

Code that generalizes without a need is unnecessarily complex and harder to maintain. So do not consider generalization, before there is indeed a second occurrence. At the third it is probably a good idea.

Personal tools