Hacker News new | past | comments | ask | show | jobs | submit login

People keep saying that, but do bugs like that really happen? In my entire career as a professional software developer I've never seen it happening. Not once.




Fair enough. That being said, -Wunreachable-code would have caught that.


>Fair enough. That being said, -Wunreachable-code would have caught that.

-Wunreachable-code was disabled in gcc years ago.


Yes, but I would assume that Apple uses clang internally?


Apple's goto/fail bug could only exist because single-line then clauses work.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: