4 ms·
> Sandi Metz IMHO doesn't claim that the problem occurs at step 2 or 3. But the headline does. I had to read quite a long way down the page to discover that a
by kwhitefoot 6y ago
> Sandi Metz IMHO doesn't claim that the problem occurs at step 2 or 3.
But the headline does.
I had to read quite a long way down the page to discover that all she is advocating is what i have always done: deduplicate when practical, undo the duplication when new requirements make it incorrect and push the unique parts into the callers.
- DougBTX 6y ago> But the headline does. That’s not really fair, it repeatedly says “wrong abstraction”, in the title and in the article. At steps 2 and 3 it is still the right abstraction, duplication only becomes better when it is the wrong abstraction.