Cpp Coding Standards/DESIGN/PremGen
From Apache OpenOffice Wiki
< Cpp Coding Standards | DESIGN
Revision as of 06:32, 16 November 2007 by Zhangxiaofei (Talk | contribs)
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.