memesearch
Higher-Order Functions Control Flow

Higher-Order Functions Control Flow

Download Find similar pictures
Text on the meme
higher order functions RECAP • Very powerful: many different use cases ◦ Easier to write than existing alternatives ◦ When you need a quick testable/reusable abstraction that doesn't have to be composable, they're great ◦ Language alternatives might come: coroutines, ranges, ... • Do not play nicely with control flow on the caller side ◦ Consider return / break / continue in a lambda body • Even more powerful in C++17 and C++20 • Some proposals might have helped... - e.g. P0573
What it means

A photographed presentation slide titled “higher order functions” lists their strengths and limitations, including awkward control flow in lambda bodies and possible improvements in C++17 and C++20. The joke is the dry, self-aware contrast between describing higher-order functions as powerful and admitting that they do not play nicely with ordinary control flow. EN: A photographed presentation slide titled “higher order functions” lists their strengths and limitations, including awkward control flow in lambda bodies and possible improvements in C++17 and C++20. The joke is the dry, self-aware contrast between describing higher-order functions as powerful and admitting that they do not play nicely with ordinary control flow.

Objects
Tags
Source
Type
image
Size
800×600 · 53.5 KiB
Mood
dryly humorous
Language
en
Added