4 ms·
The question I answered was: "How is this even possible?" (emphasis in the original). The implication seems to be that it should not be possible for the removal
by SiVal 11y ago
The question I answered was: "How is this even possible?" (emphasis in the original). The implication seems to be that it should not be possible for the removal of a `while(False)` statement to break working code, presumably based on the assumption that it can't do anything. Yet that is a false assumption, and lots of bugs are based on assumptions that seem true yet, strictly speaking, don't have to be. I provided an existence proof that it IS possible and one minimal example that the assumption that such code literally can't play any role in whether code works or not is incorrect.
- loup-vaillant 11y agoThe post I was replying to said `while(false){}`. It did not say `while(False)`. It was implied that we were talking about a C based language. You proved nothing. Others did.