This preview shows page 1. Sign up to view the full content.
Unformatted text preview: You should follow good general style guidelines such as: appropriately using control structures like loops and ifletse statements; avoiding redundancy using techniques such as methods, loops, and iflelse factoring; properly using indentation, good variable names, and proper types; and not having any lines of code longer than 100 characters. Comment descriptiVely in your own words at the top of your class, each method, and on complex sections of your code. Comments should explain each method's behavior, parameters, return, pre/post-conditions, and any exceptions thrown without referring to implementation details. 5 of 5...
View Full Document
- Spring '08