Saturday, November 01, 2008

Code Comments Are Essential

My 9th graders have been navigating a paper road with their Super Crickets for a few classes now armed only with the knowledge of how to create a long sequence of commands that hard code every turn and straightway. No sensors, yet. So their programs are long. I finally introduced them to the practice of adding comments to code. They were so thankful to have a way to keep track of where each turn in the road was in their programs. I realized how essential comments are.

No comments :