-
Notifications
You must be signed in to change notification settings - Fork 363
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
Undocumented API improvements #761
Comments
Very interesting feedback!
|
Hello, I fully agree with the first 3 items, though first one will ne difficult to do precisely. Maybe one simple filter could be to watch for the "override" keyword. Regarding the last item, I disagree : we are talking about documenting the API, so there is no point speaking about the documentation of member variables (which in most case are private). Sure, as a developer it is tempting to say this is just the doc of he variable, but it is incomplete (there are often conditions, eg the setter may not work immediately or must be called at the right time), but mostly it means documenting the implementation (which will change) instead of the API (which should hopefully not change). Regards,
|
|
@lcintrat do you have some time for enhancements? |
Finally, there is only the override feature to add? |
Think that is the most important one.
|
@lcintrat like to ask if you have some time for the override feature? |
Hi @guwirth I can do it this week. |
@lcintrat thanks. Good to know. |
We were introducing the Undocumented API metric in our company. I got the following feedback from the developers:
INHERIT_DOCS
. There it is possible to document an API only in the interface or base class. Developers don't want to maintain (same) comments at two places.What is your experience with the feature?
The text was updated successfully, but these errors were encountered: