-
Notifications
You must be signed in to change notification settings - Fork 175
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
Observation #2
Comments
Interesting thought. Which items would you re-assign to this section, and which new ones would you add? |
Good question (and good strategy to play this back to me). For me, robustness of code concerns whether it will not misbehave when used outside its intended purpose (e.g. call a function when its precondition is not met). So, a first question a developer should ask is whether the code needs to be robust (see below). A second question -- if robustness is desirable -- is how to achieve it. And this typically is a cross-cutting (hence architectural) concern. Any larger piece of software should have a strategy to make things robust in a consistent way, often involving a separate module (e.g. for error handling/logging). Related areas:
When a function need/must not be made robust:
Possible extra items for Robustness:
But I leave it to you to consider whether/how you want to incorporate robustness. |
I miss the heading Robustness, though some of the relevant items can be found under other headings. What do you think?
The text was updated successfully, but these errors were encountered: