in reply to Re^6: guidelines for inline coding
in thread guidelines for inline coding
Even so. If the cause is that there is not enough memory to construct the output string; it doesn't matter where the output is intended to go.
And if a file device is full, thus preventing the write, it will be patently obvious where the problem lies because the entire system will have fallen in a heap.
And if the problem is a network connection has gone away; or a pipe has closed; or ...; most OS's will display an appropriate and detail diagnostic on the associated console (if there is one) anyway. A diagnostic that is invariably a better diagnostic than most programmers will provide.
Let the OS do what it is designed to do.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^8: guidelines for inline coding
by Anonymous Monk on Sep 25, 2014 at 21:47 UTC |