YoVDO

How to Build C++ Interfaces That Are Hard to Use Incorrectly - Lecture

Offered By: cpponsea via YouTube

Tags

C++ Courses Object-oriented programming Courses Software Engineering Courses Type System Courses

Course Description

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore techniques for building robust C++ interfaces that minimize accidental misuse in this conference talk from C++ on Sea 2023. Learn how to leverage the C++ type system to push precondition violation detection from run-time to compile-time, reducing opportunities for bugs in user code. Discover design strategies for distinguishing precondition categories, preventing interface misuse through type-based techniques, and examining the trade-offs of this approach. Gain insights into creating portable code and exposing complex functionalities through simple, richly-typed interfaces as presented by Andreas Weis, an experienced C++ developer and library writer.

Syllabus

Intro
Motivation
Overview
Type System to the rescue!
Structuring arguments
Structured Data Access
Declarative Interface
Execution Tokens
Scoped Execution Contexts
Complex State Machines
The GoF State Pattern
Conclusion


Taught by

cpponsea

Related Courses

Intro to Computer Science
University of Virginia via Udacity
Software Engineering for SaaS
University of California, Berkeley via Coursera
CS50's Introduction to Computer Science
Harvard University via edX
UNSW Computing 1 - The Art of Programming
OpenLearning
Mobile Robotics
Open2Study