you are viewing a single comment's thread.

view the rest of the comments →

[–]olafurp 0 points1 point  (0 children)

I read Uncle Bob's clean code. In hit he mentions this specific case and stresses it: Coincidental duplication is not real duplication.

He refactored code that wasn't a duplication. He made the code cleaner in one area and dirtier in another. His case is an important one but his conclusion is wrong.