4 ms·
> But when things aren’t exactly the same, do it three times before trying to infer an abstraction. I think of it as "You don't really know if it's duplicate f
by chiph 3y ago
> But when things aren’t exactly the same, do it three times before trying to infer an abstraction.
I think of it as "You don't really know if it's duplicate functionality until you've done it a few times and it becomes obvious." When working on a larger team, a dupe-checking tool can help in locating repeated code because not everyone reviews every code change.