R
Richard Bos
Christopher Layne said:I have found on more than one occasion developers leaving in assertions in
production code on hardware (network equipment) for serious "should not
happen" cases. When it does happen - you submit a bug and they follow up.
What are people's opinions on this?
That's different. If it really is not supposed to happen, even if
there's a minor bug in earlier code, a cryptic error message may be
excusable. I'd still advocate putting it up where a normal user of the
program can see it, but if you're writing a hardware driver, it's hard
to see where that is.
Richard