Lightning Talk: Into the Lambda-Verse - Timur Doumler - C++ on Sea 2023

Ғылым және технология

cpponsea.uk/
---
Lightning Talk: Into the Lambda-Verse - Timur Doumler - C++ on Sea 2023
Some surprising and hopefully entertaining facts about how lambdas actually work in C++! Expect code examples that don't do what you expect, and wording that doesn't seem to make any sense :)
---
Slides: github.com/philsquared/cppons...
Sponsored By think-cell: www.think-cell.com/en/
---
Timur Doumler
Timur Doumler is the Developer Advocate for C++ tools at JetBrains and co-host of CppCast. He is an active member of the ISO C++ standard committee, where he is currently co-chair of the Contracts study group. As a developer, he worked many years in the audio and music technology industry and co-founded the music tech startup Cradle. Timur is passionate about clean code, good tools, low latency, and the evolution of the C++ language.
---
C++ on Sea is an annual C++ and coding conference, in Folkestone, in the UK.
- Annual C++ on Sea, C++ conference: cpponsea.uk/
- 2023 Program: cpponsea.uk/2023/schedule/
- Twitter: / cpponsea
---
KZread Videos Filmed, Edited & Optimised by Digital Medium: events.digital-medium.co.uk
#cpp​ #cpponsea​ #lambda

Пікірлер: 5

  • @binary132
    @binary1326 ай бұрын

    Ok, I’m actually more confused now than when the talk started 🤣

  • @redpepper74
    @redpepper746 ай бұрын

    C++ scares me lmao

  • @anon_y_mousse
    @anon_y_mousse6 ай бұрын

    On the last slide it would be better described with an enclosing scope because what it's doing is shadowing `n`. Truthfully, I kind of hate shadowing and there are so many places where both C and C++ shadow things that make it annoying. For instance, struct foo in C doesn't declare a new type, so essentially you can shadow types because C doesn't think they're types by doing struct foo { }; typedef struct foo foo; and then you have a type foo and type struct foo. C++ made the right move by letting struct just define a new type. Of course, anonymous structs are really useful and C++ doesn't have those, so not every decision was better, and C++ allows shadowing variables too, so they've copied some bad design choices as well.

  • @muhdiversity7409
    @muhdiversity74096 ай бұрын

    At this point the "standards" committee is 100% clowning on everyone so that each of them can sell more books to navigate you thru this now awful language.

Келесі