Difference between revisions of "Cpp Coding Standards/DESIGN/PremGen"
From Apache OpenOffice Wiki
m (Cpp Coding Standards/Design/PremGen moved to Cpp Coding Standards/DESIGN/PremGen: simplicity) |
B michaelsen (talk | contribs) |
||
| (4 intermediate revisions by 3 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.