# DRY does more harm than good

- Published: 2023-03-15
- URL: https://notes.webutvikling.org/do-repeat-yourself
- Tags: premature-optimization
- Source: https://www.youtube.com/watch?v=17KCHwOwgms

«Please DRY up your code» is usually bad advice – abstraction creates coupling and complex code. I'd advocate ALRY – ALways Repeat Yourself. When that code has matured, you are in a better position to see if it's a matching concept that can be combined to common code – or if it's just accidentally similar.
