logoalt Hacker News

lelanthrantoday at 1:14 PM1 replyview on HN

> The point of the post is to say it's not possible to avoid them. Or at least, no human since the invention of C in 1972 has.

What are you talking about? UB was coined only in the first C standard, in 1989. Prior to that there was no "If you do this, anything can happen". It was "If you do this, that will happen".


Replies

professoretctoday at 2:12 PM

More like, "if you do this, what happens depends on your particular combination of hardware, operating system, and compiler. Don't ask us."

show 1 reply