CS 1713 Introduction to Computer Science, Spring 2008 Project 3 Comments
- Grading:
     MealTester (MT): 3 points
     MealList (ML): 3 points
     Meal (M): 3 points
     FoodItem (FI): 3 points
     Dessert (De): 2 points
     Drink (Dr): 2 points
     MainCourse (MC): 2 points
     SideOrder (SO): 2 points
- Choose names appropriately:
     don't use getPrice if it returns a String, use getPriceString.
     don't use minTransFat for a method that returns a
String containing a list of meals.
- Tabs do no always work to line up columns.
     Some output devices do not support tabs.
     Only will work if all items close in length.
- The easiest way to handle sorting is to keep the list sorted as it is
generated.
- Where should the total calories and trans fat for a meal be calculated:
- Calculate it once in the constructor:
     does not work if the individual items change.
- Calculate it in the get method:
     a better way to do it
A solution will eventually be available
here