lnde/ifpstat

Completion of error handling

Opened this issue · 3 comments

Would you like to add more error handling for return values from functions like the following?

lnde commented

@elfring Now checking for fflush errors but I don't see the point in handling return values for fprintf to stdout.

I suggest to avoid ignorance of return values a bit more.
How do you think about to care also if a file output really succeeded? 🤔

💭 Would you become interested to apply aspect-oriented software development?
How do you think about to encapsulate error detection and corresponding exception handling as a reusable aspect in your software? 🤔