About code comments in kvrocks #1781
PragmaTwice
started this conversation in
General
Replies: 1 comment
-
Comments can also improve the understandability of the codebase. Useless, or "bad" comments are like:
I agree that TODO and FIXME can be helpful (e.g. to find all TODOs in the project - some IDEs are able to do that). |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have always believed that the code of kvrocks lacks comments, including the following aspects:
Firstly, many classes and functions in kvrocks lack documentation comments, making it difficult for developers to understand the meaning and important information of these classes and functions.
Secondly, kvrocks lacks a unified comment identifier. Common identifiers generally include TODO and FIXME. TODO is used to express that there are some matters unresolved or unfinished in the code here, while FIXME is used to express that there are some issues in the code here that need to be fixed.
Beta Was this translation helpful? Give feedback.
All reactions