Comments are one of the first features everybody gets to know when learning a new programming language. They can be useful for describing the functionality of code-segments or giving additional information about some code. There are many good reasons to use comments. However, you should still keep a few things in mind when you write them!
The “Do one thing” rule for programming is essential to everyone’s clean code philosophy. Learn why and how to apply it.