TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

The fallacy of DRY

2 pointsby dcuover 6 years ago

1 comment

lingzbover 6 years ago
Yes too much DRY can result in the wrong trade-offs. For example, change one line of code and, in certain cases, you may need to test all the places it&#x27;s used. For UI, this can be challenging in certain cases because UI often has use case-specific quirks.<p>That said, I think erring on DRY is generally good. It&#x27;s just that when one is a little more sophisticated, one should be more thoughtful about the trade-offs in certain cases.