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

Functional Programming Principles in Scala
École Polytechnique Fédérale de Lausanne via Coursera
Software Analysis & Testing
Georgia Institute of Technology via Udacity
Go: The Complete Developer's Guide (Golang)
Udemy
Go Bootcamp: Master Golang with 1000+ Exercises and Projects
Udemy
C++ in Detail: Common Idioms
Udemy