3 ms·
when that happens it's called coincidental coupling, when two things get coupled together for the wrong reason. It often is done when people are trying to be to
by keithnz 6y ago
when that happens it's called coincidental coupling, when two things get coupled together for the wrong reason. It often is done when people are trying to be too "dry" and trying to remove as much duplication as possible. But duplication is just an "indicator" that something might have bad modularity. However code should have good design principles guiding it and must drive modularity decisions like ensuring modular parts have good cohesion, it's not simply just because there is duplication.