5 ms·
Duplication is fine, triplication and above is the issue.
by northisup 3mo ago
Duplication is fine, triplication and above is the issue.
- mjevans 3mo agoTriplication tends to be where it becomes more clear what the correct thing to abstract or de-duplicate is. It's of course possible to functional-ize segments of logic, but then the question of state mutation must be brought up. How isolated are these changes from other parts of the code / system state. Can this be run in parallel or is it something that must be serial? What potential race conditions exist?