News for hackers. Stuff that matters.
Re:Don't Feed the Thought Leaders by ludamad on Friday June 11, 2021 @09:18AM (#27472905)
DRY I would argue doesn't conflict nearly as much with a nuanced approach. "Apply Aggressive Compression to Your Code" certainly flies in the face of many other nice features of code as a working body, though

My more nuanced take I guess is "don't duplicate logic, except if it may in fact be mutable data". It does take some forward thinking to think that this e.g. list of 10 rules should be unrolled and not compressed by meaningless helpers, etc

There are no comments on this comment yet.