|
|
|
|
|
by shapiro92
2354 days ago
|
|
there is never a golden rule, "the rule of 3", sometimes experience because you have seen the exact same can trump the rule of 3 and you can abstract it on the first try. Clean code - duplication, should focus on duplicate code that needs to change at the same time on all X places it is duplicated. If the code seems similar but actually has NO correlation, then its not duplicate it just works the same. |
|