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

The long answer is a bit complicated, but the short answer is you should duplicate code.

It is far less work to dedupe WET and abstract later once you truly understand the correct abstraction than it is to try to untangle the wrong abstraction later.

Or as Sandi Metz would say, "Duplication is far cheaper than the wrong abstraction."



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

Search: