Revisions:
Reviewing other student's code allowed me to adapt more effective solutions to my robots especially the robot that needed to move to the center. Now instead of going to the corner and then half way down the height and moving half way across the width, I now have a solution to move to the middle from any point. As I suspected the Pythagorean Theory was the key, however I was unable to implement it correctly in my first try. My modified robots jar file can be downloaded here.
Coding Standards:
Until now I only thought of coding standards as ways for me to better organize my own code for my own reference. However now that we are reviewing other students code I realized that coding standards play a key role. Without these standards understanding others code could have the potential to be a daunting task. Also coding standards requires comments which further allows others to understand your methods and the coding in the main method.
Saturday, September 12, 2009
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment