2 ms·
You might not actually hit the bug in the old function. It may be that the function only has an error if the caller passes `argc = 0`, but there's no way your
by Karellen 5y ago
You might not actually hit the bug in the old function.
It may be that the function only has an error if the caller passes `argc = 0`, but there's no way your code will ever call that function that way.
Bug fixes tend to be for weird edge cases. If the normal functionality doesn't work, someone would probably have noticed for the 1.0.0 release, or at least before the 1.1.0 release. And most of the time callers not only don't hit, but will never hit, the weird edge cases - that's what make them weird edge cases.
That said, given enough users, Hyrum's Law comes into effect where not only do some small percentage of users hit your weird edge-case bugs, but a small percentage of those end up relying on them.