5910 Breckenridge Pkwy Suite B, Tampa, FL. 33610
(800) 272-0707

SkillSoft Explore Course

IT Professional Curricula     Software Development Solution Area     C++ Programming     Angular 11 Development
While defensive design involves planning for contingencies that might occur in a software development life cycle, defensive programming entails writing code such that it continues to function predictably in the presence of unforeseen circumstances. Through this course, explore the role of defensive programming and defensive design and the implementation of a defensive barrier in your code.
You'll investigate various error reporting techniques, recognize scenarios for implementing a technique rather than exceptions, and distinguish between using exceptions and assertions to raise errors. The course will also help you discover how to use preconditions to check for inputs to your code and postconditions to verify the final results returned by your code.
At the end of this course, you will have the skills and ability to follow a defensive approach to your software development and use exceptions and assertions to flag preconditions and check for postconditions.

Objectives

Defensive C++: Defensive Programming & Defensive Design

  • discover the key concepts covered in this course
  • choose the right defensive programming technique for the different use cases
  • recall the important principles of defensive design
  • choose the correct error reporting technique to handle and flag errors
  • use compiler warnings to identify uninitialized variables
  • use compiler warnings to identify implicit conversions and assignment operator to identify conditional checks
  • use return values to report errors
  • use exceptions for error handling
  • configure multiple catch blocks correctly to catch exceptions
  • program defensively using preconditions for input checks
  • program defensively using postconditions for method guarantees
  • summarize the key concepts covered in this course