Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Removing Needless Undefined Behavior for a Safer C++

ACCU Conference via YouTube

Overview

Limited-Time Offer: Up to 75% Off Coursera Plus!
7000+ certificate courses from Google, Microsoft, IBM, and many more.
This course aims to help learners understand and eliminate needless undefined behavior in C++, promoting safer programming practices. The course covers the causes of undefined behavior in the C++ standard, classifies them, and suggests methods to mitigate or eliminate many instances of undefined behavior. It also discusses the potential application of Contracts to support well-defined behavior in various contexts. The course teaches skills such as identifying undefined behavior, implementing fixes, and utilizing Contracts for safer code. The teaching method includes a detailed examination of examples, preconditional callouts, and practical demonstrations. This course is intended for C++ developers and programmers looking to enhance their understanding of undefined behavior and improve the safety and reliability of their code.

Syllabus

Introduction
Who am I
Outline
Why this talk
Show Hands
Popular Quotes
Time Travel
Program Definition
Compile Time
Compile Time Behavior
Can we time travel
Time travel example
Simple example
Testing the example
Thesis
Social Contract
Possible fixes
Examples
Preprocessor
Local Variables
Welldefined Behavior
Jake Fevold
What is erroneous behavior
A quick drink
Preconditional callout
Preconditional examples
Why support this
C26 Contracts
Contract Violation
Example

Taught by

ACCU Conference

Reviews

Start your review of Removing Needless Undefined Behavior for a Safer C++

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.