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

I’ve had success with WET - write everything twice. If you copy paste something three times it’s a good candidate for abstraction. Ultimately these are just rules of thumb and none will fit all cases. I just found DRY to be too aggressive in practice.


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

Search: