Difference between revisions of "Cpp Coding Standards/DESIGN/PremGen"
From Apache OpenOffice Wiki
Zhangxiaofei (Talk | contribs) (reverted from spamming) |
B michaelsen (Talk | contribs) |
||
(2 intermediate revisions by one other user 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.