6 karma · joined Jul 1, 2022 (4y ago) · 2 submissions
comment 4y ago · link · parent
To speak to the wider point about DRY, it's a guiding principle for abstraction. If you have two kinds of abtractions for your method, one leads to code repetition, the other does not. Generally favour the does not.
The fact that you should have additional rules, like you shouldn't need rabbit hole debugging (jumping through a million files/objects) to understand core behaviour is not a failure of a useful guiding principle
comment 4y ago · link · parent