2 ms·
> For a long time I've thought that Don't Repeat Yourself is the most important software engineering rule. It's not. "Don't introduce unnecessary dependencies"
by dozzie 10y ago
> For a long time I've thought that Don't Repeat Yourself is the most important software engineering rule.
It's not. "Don't introduce unnecessary dependencies" and "keep dependency
graph without cycles", "keep things modular" and "all operations in a unit
(function, module, ...) should be from the same abstraction level" are just as
important, if not more, but they're a little more high-level, and thus less
actionable. DRY is just simple to enforce, that's all to it.