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

YouTube

How I Learned to Stop Worrying and Love the C++ Type System

CppNow via YouTube

Overview

Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
This talk shows how to define and use lightweight C++ wrapper types for domain values, reducing errors caused by primitive types and implicit conversions. It also presents a work-in-progress framework for adding type-safe operators.

Syllabus

Intro
What are types
Historical languages
First programming experience
Second programming experience
Pascal
what is a type system
whats a type system
type system
strong
explicit vs implicit
What can go wrong
Benefits of the Type System
The Lack of Types
Integral Promotion
Strong Type System
Member Functions
enums
library fails
the whole value pattern
Dont use primitive types

Taught by

CppNow

Reviews

Start your review of How I Learned to Stop Worrying and Love the C++ Type System

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.