Open elfring opened 1 year ago
@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? :thinking:
:thoughtballoon: 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](https://en.wikipedia.org/wiki/Aspect%28computer_programming%29 "Documentation") in your software? :thinking:
Would you like to add more error handling for return values from functions like the following?