Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



It seems like your team should check for DRYness with a static analyzer like PMD. Your reviewers have better things to look at.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: