Lesson 01
(Please ignore this - these are notes for myself for the next iteration of this course)
Feedback / Improvements on exericses: (Please ignore this - these are notes for myself for the next iteration of this course) |
---|
MOVE EXCEPTION HANDLING BACK TO LESSON 01 Homework #1: Either eliminate the Clone method, or else make it clear why it's there (and why it's a good idea to use it) Also make it clear that all parameters to all public methods must be checked before using them. Make it clear that code should be refactored to avoid redundancy (getUserInput - print out same info if any of 3 bad types of input (not number, neg, too big)) Also: forbid Array.Resize Possible 1st day plan: Re-use the basic OOP tracing from 142, then have them do a simple find-and-fix, then have them pseuodocode the fibonacci numbers in the array (in order to get them used to pseudocoding - give them an example of something else (maybe doubling each element in the array?), then emphasize that they need to write out C#-as-English and avoid just restating the specification?
Emphasize that all public methods must (re)check their parameters, but private methods don't have to? Redo voting:
|