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

>when making that tradeoff what parameters make a duplications better or worse than a dependency?

This depends entirely upon the context. Overduplication and tight coupling are universally bad but the trade off between them is often a matter of opinion.

In practice I've found that once you've hit the point where you're trying to trade duplication + tight coupling off against one another the code is already in a decent enough state that there's other more important work to be done.



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

Search: