Answer to questions 3 and 4

This commit is contained in:
root 2025-04-27 13:51:42 -04:00
parent bb20426d64
commit 3a919ca0ec
1 changed files with 2 additions and 2 deletions

View File

@ -23,10 +23,10 @@ You can run multiple projects/quieres at once.
program's behavior. Describe a few routes which you think may exist for your
chosen program's backend server.
For the weather app, there is a probably a get route that finds the city in app that you searched and once that is located it routes to a website that has the local forcaste. Post route of the weather, and the updates to the server.
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?
Exception is when some errors show up the program knows how to deal with some errors. User perspective you would always want there to be expections and the program to never crash. It can help keep the program running. Coding perspective, its easier to fix a program then try to handle many different exceptions.