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

I'm known as a strong proponent for keeping code DRY (see: https://www.youtube.com/watch?v=S4LbUv5FsGQ), but even I sometimes advocate just copying and modifying code. Sometimes two simple pieces of code are less work/maintenance/mental-burden than one overly generalized/parameterized/complicated piece of code. As the number of copies grows, then the balance of the trade off shifts.



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

Search: