Tuesday, December 2, 2014

Outlook for the next couple of weeks

Team. When creating the necessary contracts for the prototype, we must examine each data structure and determine its acceptable states and gracefully exit the application if one of the structures enters an invalid state. We will check states as pre-conditions and post-conditions in each method. This also can be done with aspects, but we will simply use conditional statements at the opening and closing of each method. We will check all of the parameters and throw an exception if one of them is out-of-bounds. We also occasionally will check state in the middle of methods after important operations if necessary for maintaining a stable system. These activities will coincide with our exception handling tasks and be mingled with them over the next couple of weeks. You can do some of the work yourself, and then compare it with the published solution. If you have any unique insights, I would surely love hearing them. Happy Coding. La-La.

No comments:

Post a Comment