Created
June 7, 2014 11:38
-
-
Save viruschidai/80dff0ba0244a805377b to your computer and use it in GitHub Desktop.
When should you avoid adding comment to your code?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. When it takes less time to read your code than to read your comment | |
2. When your code can be written in a more self-documented way | |
3. When your comment is simply repeat a method name or variable name |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment