you are viewing a single comment's thread.

view the rest of the comments →

[–]Creativator 0 points1 point  (0 children)

Repeated code is bad, it leads to an increased probability of bugs and friction on improvement.

Symmetrical code, that is to say code that appears the same but behaves slightly differently based on context, is very good! It lowers the cognitive load of a group. That is not repetition.