Hacker News new | ask | show | jobs
by rapala 3124 days ago
It depends. If the duplicated code is supposed to do the same thing in both places then the two pieces of code are already dependent. You change one of the duplicates, you need to change the other one two.