Added a couple lines (#20536)

Mentioned that it's more difficult to go back through your code and comment it, rather than just comment it while you go.
This commit is contained in:
Austen Pritchett
2018-10-28 17:37:57 -06:00
committed by Aditya
parent 6ef37d2e13
commit bf64d3e8f3

View File

@ -9,6 +9,8 @@ For example, if you happen to pass along your code to an absolute beginner, they
It may become an extremely important idea to make a habit out of commenting your functions, loops, and declarations and treating comments as part of the source code, just as regular code should be.
Many developers have probably learned that it is much harder to go back through your code and comment it after you finish. It's always a good idea to label and comment your code as you go, so that you don't forget or mix up what certain variables or functions do.
![An example of commenting in the real world](https://cdn-images-1.medium.com/max/1620/1*Pyxsc7Uixbitv5myywaA_Q.jpeg)
<!-- The article goes here, in GitHub-flavored Markdown. Feel free to add YouTube videos, images, and CodePen/JSBin embeds -->