2 ms·
> when you can tell through simple local reasoning that the panic will never happen A problem is that you may be able to tell now, but as code changes and func
by dllthomas 3y ago
> when you can tell through simple local reasoning that the panic will never happen
A problem is that you may be able to tell now, but as code changes and functions grow and split, that reasoning may grow less simple and less local without any changes of those lines in particular.
The odds of that, and the degree to which it matters, are of course both spectacularly situation dependent.
- fireflash38 3y agoAnd if my grandmother had wheels she'd be a bicycle! The point being, take context into account. You can't code like everything everywhere is going to get modified to be worse.
- dllthomas 3y agoI agree, I was just surfacing a sometimes missed piece of context.