Higher-Order Functions Control Flow
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
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.
#higher-order functions#функции высшего порядка#functional programming#функциональное программирование#c++#lambda#лямбда#control flow#управление потоком#programming#программирование#developer#разработчик#technical humor#технический юмор#presentation#презентация#slide#слайд#reaction#реакция#meme#мем#software engineering#разработка по
- @ithueti / 868 2019-04-20
- Type
- image
- Size
- 800×600 · 53.5 KiB
- Mood
- dryly humorous
- Language
- en
- Added