News for hackers. Stuff that matters.
Re:Don't DRY Your Code Prematurely by coffeebeqn on Thursday May 30, 2024 @05:03PM (#40528695)
DRY often gives you the wrong or a leaky abstraction and creates dependencies between sometimes unrelated pieces of code. It’s got tradeoffs rather than being a silver bullet for improving codebases.

Having 0% DRY is probably bad, having 100% DRY is probably unhinged

Re:Don't DRY Your Code Prematurely by kitkat_new on Thursday May 30, 2024 @08:01PM (#40530143)
> sometimes unrelated pieces

you are using it wrong