3 ms·
> DRY paints that as a feature That's not what DRY should be. Good developers should understand at least a couple of levels of abstraction underneath what they
by p1necone 5y ago
> DRY paints that as a feature
That's not what DRY should be. Good developers should understand at least a couple of levels of abstraction underneath what they're writing in order to produce sensible code.
The idea of abstraction is that you only have to spend the afternoon/day/week (depending on the complexity that's being abstracted over) learning how everything comes together once, as opposed to spending that time to grok a slightly different version of the same complex system every time you read/write something new.
- ahmedalsudani 5y agoYeah; anyone who thinks DRY means copy the answer on SO is completely missing the point. DRY should not introduce vulnerabilities. It avoids them by 1. reducing complexity and cognitive overhead 2. allowing you to fix your code in one place and propagate your fix throughout the codebase