Difference between revisions of "Cpp Coding Standards/DESIGN/PremGen"
From Apache OpenOffice Wiki
B michaelsen (talk | contribs) |
|||
| (5 intermediate revisions by 4 users not shown) | |||
| 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.