Hacker News new | past | comments | ask | show | jobs | submit login

The problem is that most developers don't not actually understand DRY. They see a few lines repeated a few times in different functions and create a mess of abstraction just to remove the repeated code. Eventually more conditions are added to the abstracted functions to handle more cases, and the complexity increases, all to avoid having to look at a couple lines of repeated code. This is not what DRY is about.



Yep, exactly. I went into further detail in another comment.




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

Search: