Re:Proposal for a Friendly Dialect of C
by zellyn on Wednesday August 27, 2014 @03:22PM
(#8234187)
The scope of an unspecified value's effect is limited to that particular value, whereas undefined behavior's effects are unlimited: http://en.wikipedia.org/wiki/Nasal_demons
[ Parent
| on HN ]
Re:Proposal for a Friendly Dialect of C
by kazinator on Wednesday August 27, 2014 @09:40PM
(#8235553)
However, in practice, continuing with an unspecified value can have catastrophic consequences. And, also, undefined behavior can have nice consequences, like terminating with a diagnostic message, which is not a conforming way to implement unspecified behavior.