Hacker News new | ask | show | jobs
by TedDallas 744 days ago
DRY is more about support and maintenance than anything else.

I see a lot of attacks on DRY these days, and it boggles my mind. Maybe it is being conflated with over-engineering/paramterization/architecting. I don't know.

But I do know that having to fix the same bug twice in the same code base is not a good look.

1 comments

It’s not that. It’s when you need to change how the function behaves but for only one of the callers.