Error reporting in C++ - Exceptions (2/13)

Поділитися
Вставка
  • Опубліковано 2 жов 2024
  • Join me in these bi-weekly series to explore the topic of error reporting in C++.
    The focus of this course is the design of functions that normally return a value, but an error may occur so, what should they return instead?
    In this video we will be looking at exceptions.
    Exceptions are a powerful and common mechanism to report that something went wrong.
    However, handling exceptions may be error-prone and may come with a performance penalty if they are thrown frequently.
    Use exceptions to report exceptional errors and avoid catching them unless you can do something about them.
    The course is also available FOR FREE on Udemy.
    It includes coding exercises so you can practice what you have learned.
    Check it out and please consider leaving a review if you find it helpful: www.udemy.com/...

КОМЕНТАРІ • 1