-
-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Completion of error handling #16
Comments
I've not yet implemented any exception handling, but if you have a clear idea of what you want, feel free to submit a pull request. |
I suggest to avoid ignorance of return values a bit more. |
You are right that error handling is a key part, but I feel more comfortable with the idea of implementing a single error handling pattern as a whole in a dedicated step of the development. I guess the advantage is to keep the code as simple (and readable) as possible in the early steps of creation. And as long as the software is run in a debug environment, error handling isn't critical. It is even sometimes harder to debug with errors routed to the top of the library. But any idea and help is welcome. |
How do you think about to improve static source code analysis also for this software?
|
Static source code analyzers are handy tools, but using them too early could limit creativity and intuition. Also being rigorous by yourself instead of being driven by a soft is a must. Letting a software making lots of tiny changes in your draft could have bad consequence. |
Can higher level development tools help to improve also this software implementation further? |
You think to a particular tool? |
Yes. - There are development tools available which could help more with the desired completion of exception handling. |
tell me more...which soft? |
Examples:
|
If you have good experience with those tools, I'm open to any pull request that could improve vkvg. |
I know these tools to some degree. |
|
No, vkvg is a c library. |
Can functions of a C library call (member) functions of a class library for this software? |
Would you like to add more error handling for return values from functions like the following?
The text was updated successfully, but these errors were encountered: