From a4b59701f3a04ff4328ac9da646eb9deb8f35f43 Mon Sep 17 00:00:00 2001 From: Jidong Xiao Date: Thu, 13 Mar 2025 22:54:31 -0400 Subject: [PATCH] remove the word denial --- lectures/17_exceptions/README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lectures/17_exceptions/README.md b/lectures/17_exceptions/README.md index 4a4993d..223273b 100644 --- a/lectures/17_exceptions/README.md +++ b/lectures/17_exceptions/README.md @@ -2,13 +2,12 @@ ## Today’s Lecture -- HW7 Discussion - Error handling strategies - Basic exception mechanisms: try/throw/catch - Functions & exceptions, constructors & exceptions - STL exceptions -## 17.1 Error Handling Strategy A: Optimism (a.k.a. Na¨ıvet´e or Denial) +## 17.1 Error Handling Strategy A: Optimism - Assume there are no errors. Command line arguments will always be proper, any specified files will always be available for read/write, the data in the files will be formatted correctly, numerical calculations will not attempt to divide by zero, etc.