Hacker News new | ask | show | jobs
by hburd 2550 days ago
Is undefined behavior really that bad when it's not causing problems?
2 comments

"Undefined behavior" is a broad area which covers everything from defects in a program that make it crash, to documented language and library extensions (which real-world programs can hardly avoid using).
The problem is that, just because it's not causing problems now, doesn't mean it can suddenly start causing incredibly hard to track down problems years later after an innocuous compiler upgrade...