3 ms·
> I never said they could. I almost missed this one! Here's some choice quotes for you: From https://news.ycombinator.com/item?id=16917162 https://news.ycombi
by jjnoakes 9y ago
> I never said they could.
I almost missed this one! Here's some choice quotes for you:
From https://news.ycombinator.com/item?id=16917162 https://news.ycombinator.com/item?id=16917162
> "Undefined behavior anywhere in the program can legally make any part of the program do anything at any time."
and from https://news.ycombinator.com/item?id=16917551 https://news.ycombinator.com/item?id=16917551
> "It's true if the UB is possibly reachable."
- lisper 9y agoYeah, yeah, there is a special case that if the UB is not reachable then it's a no-op. That doesn't change the fact that writing correct non-trivial C code is practically impossible.
- jjnoakes 9y agoNo argument here, I'm just trying to keep the facts straight; I have no opinion on right/wrong/good/bad/easy/hard (at least, not in this forum).