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

I call this "copy-paste-copy-paste-refactor": don't factor or abstract out a routine before the third time it's implemented. Until then you don't know what the actual commonalities among the uses will be, or if the callers will have so many special cases that the routine isn't really that reusable.


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

Search: