5 ms·
> For a lot of people, "fixing" means adding code to make it work. What if the fix requires deleting a single line of code? Is the additive fix to enshroud it
by acuozzo 15d ago
> For a lot of people, "fixing" means adding code to make it work.
What if the fix requires deleting a single line of code?
Is the additive fix to enshroud it in if (0) { } ?
- kqr 15d agoUsually something more subtle like adding an early return somewhere before the offending line, or inheriting from that class and blanking that method, or something along those lines.
- Izkata 15d agoWhat I saw in these cases, the result was a few levels removed from the root cause and they'd add the same workaround to like 5 different places (and miss one or two) instead of tracking it back to the origin where the fix was that simple.