Reference
This issue was raised based on this comment.
Background
As the project grows, maintaining clear and meaningful comments is becoming increasingly important. Currently, comments vary in style and detail, which can sometimes make it harder for contributors-especially external ones-to understand the reasoning behind certain implementations or deviations from lodash.
Motivation
-
To improve code clarity and maintainability
-
To help contributors understand the intent behind complex logic or design decisions
-
To explicitly document any implicit improvements made for better performance compared to lodash, so contributors can easily identify and understand performance-related changes and optimizations
-
To provide consistency across the codebase
Steps
-
Discuss and agree on a lightweight commenting guideline with maintainers and contributors
-
Review existing comments and update them according to the agreed guidelines
-
Add a dedicated section about commenting rules to the project’s CONTRIBUTING.md file, so that all current and future contributors have clear guidance on how to write and maintain comments consistently
cc. @NaverPayDev/frontend
Reference
This issue was raised based on this comment.
Background
As the project grows, maintaining clear and meaningful comments is becoming increasingly important. Currently, comments vary in style and detail, which can sometimes make it harder for contributors-especially external ones-to understand the reasoning behind certain implementations or deviations from lodash.
Motivation
To improve code clarity and maintainability
To help contributors understand the intent behind complex logic or design decisions
To explicitly document any implicit improvements made for better performance compared to lodash, so contributors can easily identify and understand performance-related changes and optimizations
To provide consistency across the codebase
Steps
Discuss and agree on a lightweight commenting guideline with maintainers and contributors
Review existing comments and update them according to the agreed guidelines
Add a dedicated section about commenting rules to the project’s CONTRIBUTING.md file, so that all current and future contributors have clear guidance on how to write and maintain comments consistently
cc. @NaverPayDev/frontend