AI, Data Science & Cloud Certificates from Google, IBM & Meta
Earn Your CS Degree, Tuition-Free, 100% Online!
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