asked 112k views
18 votes
What is the point of comments in code? Discuss at least two possible uses of code, including specific examples of what a comment might “look like.”

1 Answer

8 votes

Answer:

Better collabaration and helping find bugs.

Step-by-step explanation:

When working with a group of people, comments help the other person understand what you are doing.

Ex. //cat sprite

Also, it helps find bugs. For example, if the cat sprite is not working that means you know it has something to do with that peice of code.

answered
User Orentet
by
8.6k points

No related questions found