3 ms·
> or what exactly can you do? Crash. Crashing is a million times better than undefined behaviour, which can and often does include carrying on computing with i
by twic 4y ago
> or what exactly can you do?
Crash. Crashing is a million times better than undefined behaviour, which can and often does include carrying on computing with incorrect data.
- menaerus 4y agoAnd which is what I already mentioned? And something that standard library already can do for you so I'm not sure about the point you're trying to make. Also, aborting the program is not something you can universally apply. For some it works well for others not so much. Most recent example being the rust in the kernel which, well, tries to take this sort of a purist approach, however, real world doesn't work that way.