3 ms·
Literally all UB is avoidable if you just "don't do" the things that cause it, and yet it still happens all the time. You might be right that this specific sour
by saghm 4y ago
Literally all UB is avoidable if you just "don't do" the things that cause it, and yet it still happens all the time. You might be right that this specific source of UB might not be a large issue in practice, but there are so many different causes of it that overall the strategy of "just don't write code that causes UB" is empirically not effective at scale.