-
Notifications
You must be signed in to change notification settings - Fork 1
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
JS: Should describe 3 types of comment delimiters, not 2. #42
Comments
There's a 4th type too |
Should we also add a standard that developers should use Java Doc syntax for commenting? |
I like that suggestion. You could just link to their how-to page |
I am not extremely familiar with the differences in autodoc syntax. For JavaScript, what should we recommend? Javadoc, JSdoc, YUIdoc? |
Unless we're ready to standardize on an auto doc tool I don't think that we have to endorse a specific syntax in this general standards document. Regardless of which doc comment syntax is used on a project, they almost all use the double star convention to denote a doc comment. |
Should we wait to include the doc comment example until the syntax is standardized? |
Yes, let's hold on that and revisit at a later time |
I think we should call out 3 types of comments:
This is consistent with how many editors and IDEs classify comments and more closely matches how developers should think about comments (IMHO).
Doc comment example:
Multi-line comment example:
Single-line comment example:
The text was updated successfully, but these errors were encountered: