|
|
|
|
|
by nraf
1027 days ago
|
|
> for example, the same several lines of code duplicated across distant parts of the codebase dozens of times, and with inconsistent names which make the duplication hard to notice or track down While I think there’s merit in deduplicating these situations, one pitfall is introducing coupling and tangled dependencies when DRYing. There are ways around this of course, but I’ve come across a number of instances where deduplication has led to unnecessary coupling between modules. |
|