Latchesar Ionkov wrote:
Another example is using emalloc in libraries. I agree that it is much simpler to just give up when there is not enough memory (which is also not very likely case), but is that how the code is supposed to be written if you are not doing research?

yes, that is a problem with a lot of code. "Just bail on first error" -- we've had to stop using emalloc here because that is very unrealistic for production support.

ron

Reply via email to