News for hackers. Stuff that matters.
Re:DRY is an over-rated programming principle? by kareemsabri on Thursday July 07, 2022 @08:30AM (#32013156)
In places I've worked DRY is overused, or used poorly. I can't count the number of times you get "DRY" on a code review just cause something appears twice. It's probably because it's the easiest one to spot.

> learning the acronyms like DRY, and just following them

Following DRY is the hard part. As the author points out, to DRY something up you need to pick the right level of abstraction. This requires experience to do well.

Re:DRY is an over-rated programming principle? by drewcoo on Thursday July 07, 2022 @02:49PM (#32017775)
It seems like your team should check for DRYness with a static analyzer like PMD. Your reviewers have better things to look at.