3 ms·
The question I ask myself is: Are these two things that look the same, actually the exact same problem, and do I expect them to continue being the exact same pr
by andrewingram 9y ago
The question I ask myself is: Are these two things that look the same, actually the exact same problem, and do I expect them to continue being the exact same problem?
If the answer is an easy yes, then build your abstraction. If it's no, don't. If it's maybe, leave the duplication in place until you have a clearer understanding.