Comments in your code are much the same. Good, clear, and necessary comments can help keep an otherwise convoluted narrative of code become a clear, easy-to-follow story. Two main ideas that have helped me when deciding if a section of code needs comments are these: Code should explain what is happening, and clear naming will help make your code be clear and easy to follow.
9 Comments
Sort: