When writing codes, you have to make some comments. There are three kinds of comments.
1. DocBlocks comments: documenting the API, —function parameters, the purpose of a class, etc.
2. inline comments: explaining what the actual lines of code are doing.
3. implementation comments: telling programmers where to start and how to accomplish tasks.