Skip to content
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

Code Comments #52

Closed
aroegies opened this issue Nov 10, 2015 · 2 comments
Closed

Code Comments #52

aroegies opened this issue Nov 10, 2015 · 2 comments

Comments

@aroegies
Copy link
Contributor

Before we get too far into hacking on Anserini, we should probably decide on how we want to deal with comments.

Do we want to do Javadoc? Something else?

@claclark
Copy link

If it was hard to write it should be hard to read?

@lintool
Copy link
Member

lintool commented Nov 10, 2015

Simple solution: write self-documenting code :)

Java is so braindead and verbose that this isn't so difficult.

Javadoc for API documentation:

/** foo 
*/

Everything else can be inline:

// Here is an explanation of some complex algorithm.

@lintool lintool closed this as completed Jun 18, 2016
@castorini castorini locked as resolved and limited conversation to collaborators Nov 28, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants