REVIEW - C++ Lambda Story - Everything you need to know about Lambda Expressions in Modern C++!


Title:

C++ Lambda Story

Everything you need to know about Lambda Expressions in Modern C++!

Author:

Bartłomiej Filipek

ISBN:

9798702851679

Publisher:

leanpub (2021)

Pages:

163

Reviewer:

Paul Floyd

Reviewed:

September 2023

Rating:

★★★★☆


Verdict: Recommended

Since I’m no better at lambdas than I am at templates, I was looking to get a refresher from this book, including the latest stuff from C++20.

The book is nicely presented. I liked the lambda syntax diagrams. A couple of niggles. There are a few typos (but they don’t really detract) and there are numerous mentions of use of WandBox but not always footnotes with links. I do appreciate publishers that make available things to complement paper books like web pages of links. The author does have a gitub repo for the book, so no need to type in the code.

It does read like a story. There are no recipes/notes/items. Instead, there are 5 chapters that cover callable objects and lambdas for each of the major C++ releases up to and including C++20. On the whole, I found the pace quite even and easy to follow, though I admit I was struggling a bit with the C++20 combinations of lambdas and concepts/constexpr/consteval and parameter packs – as much with the meaning as with the applicability.

Though I won’t be able to apply the C++ 17 and 20 features at work, I do feel that this was a useful resource for when I do encounter more modern snippets of code.

Website: https://leanpub.com/cpplambda






Your Privacy

By clicking "Accept Non-Essential Cookies" you agree ACCU can store non-essential cookies on your device and disclose information in accordance with our Privacy Policy and Cookie Policy.

Current Setting: Non-Essential Cookies REJECTED


By clicking "Include Third Party Content" you agree ACCU can forward your IP address to third-party sites (such as YouTube) to enhance the information presented on this site, and that third-party sites may store cookies on your device.

Current Setting: Third Party Content EXCLUDED



Settings can be changed at any time from the Cookie Policy page.