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

There's nothing wrong with DRY. It's a concept not a law. I once saw some VB6 code that was 30k lines of copy pasted if/then statements. DRY would have reduced this to about 500 lines of highly readable code. Are there cases where you by design don't want to follow DRY yea... There are... But it's not a useless principal


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

Search: