Closed elfring closed 10 years ago
It's generally a good idea to check for errors, thanks for pointing this out.
However what this repository contains is "a hack". Large part of API is not implemented and most likely will not be implemented at all. So I think it's OK to leave it as it is.
I suggest to avoid ignorance of return values a bit more.
Are you 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?
How do you think about to improve static source code analysis also for your software?
Do you find information sources like the following useful?
I have looked at a few source files for your current software. I have noticed that some checks for return codes are missing.
Would you like to add more error handling for return values from functions like the following?