Cpp Coding Standards/DESIGN/PremGen
From Apache OpenOffice Wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
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.