-
Notifications
You must be signed in to change notification settings - Fork 43
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
Remove function names from comments (where not useful) #111
Comments
Hi, I want to work on this issue. |
In addition to the redundant 'end of function' comments, there are also countless I would say that the only comments like this that provide enough value to justify the increased clutter, are of family in the example below (from another app): That is, complex functions with several layers of nested But a simple In any case, even the components/apps that do have Examples of what I would say are unnecessary Removing them might be a better solution (and one-time action) rather than relying on them being constantly maintained into the distant future...
|
Yes, Yes, Yes. With automated formatting applied to enforce consistent indentation I don't see much value in any of those comments. |
Is your feature request related to a problem? Please describe.
Function names in comments (end of function comment, function header comment) historically have been poorly maintained.
Example:
sample_app/fsw/src/sample_app.c
Line 393 in 0d11d9e
sample_app/fsw/src/sample_app.c
Line 425 in 0d11d9e
Describe the solution you'd like
Remove redundant information (these end of function comments and name from the header).
Describe alternatives you've considered
None
Additional context
None
Requester Info
Jacob Hageman - NASA/GSFC
The text was updated successfully, but these errors were encountered: