Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
witty_username
on Dec 5, 2021
|
parent
|
context
|
favorite
| on:
Do we really need undefined behavior?
No, if your program ever invokes UB, anything could happen (even at the beginning). In other words, UB can time travel.
sokoloff
on Dec 5, 2021
[–]
If the {…} includes a break, undefined behavior could well be avoided.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: