Tomasz Ducin @ducin.dev · Dec 2

The biggest "problem" with DRY is people thinking DRY is about lines of code. It's not. DRY is about knowledge. Enforcing few-liners not ot be repeated _can_ be counter-productive. Still, the point is not to copy/paste for the sake of it. DRY/antiDRY is a false dichotomy.

5 likes 1 replies

?

Replies

Denys · Dec 3

Cannot agree more. Everything depends on the context and we should not blindly follow the rules just for the rules. Same way data denormalizarion patterns used for db architectures. Some think DRY is about using is-even from NPM though…