7
When DRY goes wrong (hackeryarn.com)
you are viewing a single comment's thread
view the rest of the comments
[-] lolcatnip@lemmyrs.org 1 points 1 year ago

Does this need to change in ALL places? How do you know? How can you get all places it is used and be certain it has to change in all of them?

These seem like questions that are equally important and hard to answer regardless of whether you're using abstractions, although abstractions have a big advantage in that you can find all the sites where they're used much more easily than you can find all the places where a piece of code is duplicated (or worse yet, duplicated with slight changes).

this post was submitted on 11 Jun 2023
7 points (100.0% liked)

Programming

13345 readers
1 users here now

All things programming and coding related. Subcommunity of Technology.


This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

founded 1 year ago
MODERATORS