255,382 views
20 votes
20 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.”

User Ashish Kirodian
by
2.4k points

1 Answer

9 votes
9 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.

User GustyWind
by
3.1k points