Error reporting in C++
Error reporting in C++, available at Free, has an average rating of 4.5, with 15 lectures, 13 quizzes, based on 4 reviews, and has 627 subscribers.
You will learn about Understand the importance of error reporting in C++ Analyze the different error reporting techniques Understand the risks of ambiguity when reporting errors Evaluate the different error reporting techniques in regards to complexity Write C++ that is easy to use correctly and hard to get wrong This course is ideal for individuals who are Beginner C++ developers who want to avoid common beginner pitfalls or Intermediate C++ developers who want to architect maintainable modules or C++ developers from all levels who want to get a good grasp of error reporting It is particularly useful for Beginner C++ developers who want to avoid common beginner pitfalls or Intermediate C++ developers who want to architect maintainable modules or C++ developers from all levels who want to get a good grasp of error reporting.
Enroll now: Error reporting in C++
Summary
Title: Error reporting in C++
Price: Free
Average Rating: 4.5
Number of Lectures: 15
Number of Quizzes: 13
Number of Published Lectures: 15
Number of Published Quizzes: 13
Number of Curriculum Items: 28
Number of Published Curriculum Objects: 28
Original Price: Free
Quality Status: approved
Status: Live
What You Will Learn
- Understand the importance of error reporting in C++
- Analyze the different error reporting techniques
- Understand the risks of ambiguity when reporting errors
- Evaluate the different error reporting techniques in regards to complexity
- Write C++ that is easy to use correctly and hard to get wrong
Who Should Attend
- Beginner C++ developers who want to avoid common beginner pitfalls
- Intermediate C++ developers who want to architect maintainable modules
- C++ developers from all levels who want to get a good grasp of error reporting
Target Audiences
- Beginner C++ developers who want to avoid common beginner pitfalls
- Intermediate C++ developers who want to architect maintainable modules
- C++ developers from all levels who want to get a good grasp of error reporting
Let’s explore how to report errors in C++ for software that’s both expressive and hard to misuse.
In this course, you will explore various error reporting mechanisms and essential best practices for creating robust and reliable software.
Error reporting is a crucial part of software development. It increases the correctness of software and makes it more maintainable. The goal of error reporting is simple: When returning from a function that may fail, make correct code easy to write and incorrect code hard to miss.
We will look at different ways to report errors in C++ and evaluate each technique based on its simplicity, expressiveness, and robustness. The techniques we will examine range from the most basic, essentially writing C, to the most modern, using C++23 features. The focus will be on functions that return some value, such as the contents of a file, and may fail.
The challenge is finding an ideal way to report an error if one occurs, while also returning the value if everything goes well.
Errors should be unignorable and unambiguous. If a function returns a value, we want to ensure that the caller cannot accidentally access that value if an error has occurred. Additionally, we would like the caller to know what went wrong in case of a mishap. All this, expressively and simply.
We will look at different ways to achieve this, from using exceptions to returning empty or invalid values, error codes, and more. The lectures are code-centric and concise. They are accompanied by interactive labs to help you practice what you have learned. In the coding exercises, you will get some starter code, and your task is to handle the output of a function that may fail. This will allow you to practice all the different error reporting techniques while exploring their advantages and disadvantages.
Join me in this course to learn how to report errors by writing code that’s hard to misuse and wrong code hard to get away with.
Course Curriculum
Chapter 1: Introduction
Lecture 1: Introduction to the course
Lecture 2: Introduction to the coding exercises
Chapter 2: Error reporting in C++
Lecture 1: Exceptions
Lecture 2: Empty values
Lecture 3: Invalid values
Lecture 4: Optional values
Lecture 5: Boolean values
Lecture 6: Error codes
Lecture 7: Pairs of Booleans and content
Lecture 8: Pairs of error codes and content
Lecture 9: Custom classes of Booleans and content
Lecture 10: Custom classes of error codes and content
Lecture 11: Variants
Lecture 12: Expected
Chapter 3: Conclusion
Lecture 1: Takeaways & reflections
Instructors
-
Dimitris Platis
Software Engineer & Maker
Rating Distribution
- 1 stars: 0 votes
- 2 stars: 0 votes
- 3 stars: 0 votes
- 4 stars: 2 votes
- 5 stars: 2 votes
Frequently Asked Questions
How long do I have access to the course materials?
You can view and review the lecture materials indefinitely, like an on-demand channel.
Can I take my courses with me wherever I go?
Definitely! If you have an internet connection, courses on Udemy are available on any device at any time. If you don’t have an internet connection, some instructors also let their students download course lectures. That’s up to the instructor though, so make sure you get on their good side!
You may also like
- Top 10 Video Editing Courses to Learn in November 2024
- Top 10 Music Production Courses to Learn in November 2024
- Top 10 Animation Courses to Learn in November 2024
- Top 10 Digital Illustration Courses to Learn in November 2024
- Top 10 Renewable Energy Courses to Learn in November 2024
- Top 10 Sustainable Living Courses to Learn in November 2024
- Top 10 Ethical AI Courses to Learn in November 2024
- Top 10 Cybersecurity Fundamentals Courses to Learn in November 2024
- Top 10 Smart Home Technology Courses to Learn in November 2024
- Top 10 Holistic Health Courses to Learn in November 2024
- Top 10 Nutrition And Diet Planning Courses to Learn in November 2024
- Top 10 Yoga Instruction Courses to Learn in November 2024
- Top 10 Stress Management Courses to Learn in November 2024
- Top 10 Mindfulness Meditation Courses to Learn in November 2024
- Top 10 Life Coaching Courses to Learn in November 2024
- Top 10 Career Development Courses to Learn in November 2024
- Top 10 Relationship Building Courses to Learn in November 2024
- Top 10 Parenting Skills Courses to Learn in November 2024
- Top 10 Home Improvement Courses to Learn in November 2024
- Top 10 Gardening Courses to Learn in November 2024