Good Practices Checklist

There are many details that makeup a good program, and that meets the characteristics that we discuss in the course. The following is just a start towards listing them. The grade for an OOP project is partially based on the items in these checklists.

Creating a list of these is not easy as there are always exceptions. However, these exceptions are not common. Think about where this would apply, not what the exception would be.

The checklist will be updated as we go along in the course.

Overall Program

Statement Level


 int total = 0;
 for (auto element : v) {
 	total += element;


int total = 0;
for (int i = 0; i < v.size(); ++i) {
	total += v[i];