Uploaded July 2026 | Updated November 2026, 3 days ago
This talk was recorded at NDC Toronto in Toronto, Canada. #ndctoronto #ndcconferences #developer #softwaredeveloper
Attend the next NDC conference near you:
ndcconferences.com
ndctoronto.com
Subscribe to our YouTube channel and learn every day:
/ @NDC
Follow our Social Media!
facebook.com/ndcconferences
twitter.com/NDC_Conferences
instagram.com/ndc_conferences
#cplusplus
Functional programming languages typically are expression based - each operation you perform returns a value. In many ways C++ is a functional programming language. We can pass functions, we can create functions, we can create closures, we can return function objects from functions and we support higher order functions. C++, however, fundamentally lacks the ability to treat statements as expressions.
What happens if we *pretend* that statements are expressions in C++? What falls out? How does it affect the quality and performance of our code? How far can we take this pretend world of expression-based C++?
This talk was recorded at NDC Toronto in Toronto, Canada. #ndctoronto #ndcconferences #developer #softwaredeveloper
Attend the next NDC conference near you:
ndcconferences.com
ndctoronto.com
Subscribe to our YouTube channel and learn every day:
/ @NDC
Follow our Social Media!
facebook.com/ndcconferences
twitter.com/NDC_Conferences
instagram.com/ndc_conferences
#cplusplus
Functional programming languages typically are expression based - each operation you perform returns a value. In many ways C++ is a functional programming language. We can pass functions, we can create functions, we can create closures, we can return function objects from functions and we support higher order functions. C++, however, fundamentally lacks the ability to treat statements as expressions.
What happens if we *pretend* that statements are expressions in C++? What falls out? How does it affect the quality and performance of our code? How far can we take this pretend world of expression-based C++?










