Remix.run Logo
acuozzo 5 days 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) { } ?

Izkata 5 days ago | parent | next [-]

What 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.

kqr 5 days ago | parent | prev [-]

Usually 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.