diff --git a/notes.md b/notes.md index c02ff57..c6c774c 100644 --- a/notes.md +++ b/notes.md @@ -28,10 +28,21 @@ One advantage of the server that connects to a client on the same computer is th program's behavior. Describe a few routes which you think may exist for your chosen program's backend server. +I use Microsoft OneNote all the time. The school I work in is a Microsoft school so everything we do is on Teams and Microsoft OneNote. The notebooks have a couple different categories of functionality. +Creating and Closing the notebooks +GET NOTEBOOK (Create) +POST NOTEBOOK (Post for students to access) +DELETE NOTEBOOK (Close a notebook or archive notebook) +Sharing pages or categories in the notebooks +GET NOTEBOOK/ SECTION +POST NOTEBOOK/ SECTION +GET PAGES/ NOTEBOOK +POST PAGES/ NOTEBOOK + 4. In your own words, what is an exception? When might it be useful to handle an exception? When is it better not to handle an exception, and instead let the program crash? - +This question makes me think of the very first labs that we did in 677. The task was to write code that prompted the turtle to draw a particular shape. At first when the turtle did not complete the task or ran into an error, the window would literally just close. Then you, as the person coding, would have to figure out where the issue was and what the next steps should be. An exception would be useful because it could anticipate and give feedback to the errors that occur. Having the common feedback categorized and given back to the user makes troubleshooting more manageable. It also makes the crashing more user friendly.