Consider removing @author javadoc, document policy
See original GitHub issueI saw a number of projects making the choice to remove @author
tags from their JavaDocs (https://github.com/checkstyle/checkstyle/issues/5738 for example).
I thought it was a good choice - this is a collaborative project that has been going for years with over a hundred contributors and very few classes have only one contributor.
I removed all the @author
javadoc tags thinking this was not a controversial choice. I didn’t even send it through PR. That was wrong to do.
@PauloMigAlmeida asked that we bring them back and I realized that I had not given the change sufficient consideration. I reverted the change in https://github.com/github-api/github-api/commit/a42305dd59f0be426f0c9091748e947f60d76bcd so that we can discuss and do this right.
Paulo, could you talk about reasons to keep them? Perhaps we can address your concerns with something other that this particular JavaDoc tag?
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (6 by maintainers)
Top GitHub Comments
@bitwiseman first of all, it was really nice of you to revert the commit. I commend you for doing that.
My 2 cents on whether keep or not the
@author
on the source code is … We should keep them because:@author
. For instance:I’m aware of things like:
<contributor>
XML elements on the pom.xml for that purpose.My thoughts on them are that either they don’t cover all edge cases or they make the discovery part (knowing who did what/when) a bit harder. That’s why we should have multiple discoverable ways available to make things easier rather than harder and since this isn’t impacting the library performance-wise then let’s keep it 😃
So all in all, this should be a matter of choice… if the person who committed a piece of code feels comfortable not adding a
@author
tag then he/she can do so. The same should work the other way around.Super! Thanks for being so flexible. 😃
Regarding the documentation task, leave that one to me. I will open a PR soon 😃