~/talk

The Imperatives Must Go!

Talkat Core C++ 2023 · 2023-06-05..06-07· [functional-programming, c-and-cpp]
slides:none on file

Claim: functional programming ideas are already inside modern C++. Code examples use C++20 lazy ranges and higher‑order utilities (lift library, compose) to build pipelines instead of mutation, and C++23 monadic extensions plus fmap-style lifting let std::optional be chained without unwrapping. Practical guidance: use std::expected for error info (parsing example), beware view reference semantics, and prefer composition — illustrated by Doug McElroy’s six‑line shell vs Knuth’s ten‑page Pascal and real C++ solutions applying ranges.

AI-written summary · about

  1. 0:00Introduction and welcome
  2. 1:40Defining functional programming
  3. 4:11Historical context and goals
  4. 7:01The evolution of functional ideas
  5. 12:10Thinking in pipelines
  6. 16:37Learning resources and strategy
  7. 18:49Higher order functions
  8. 24:43Working with boxes
  9. 29:05Implementation of fmap
  10. 33:48Chaining computations
  11. 37:07Monadic extensions
  12. 41:46Parallels with other languages
  13. 45:02Error handling strategies
  14. 49:20Ranges and composition
  15. 54:07Conclusion and Q&A
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.