Value Oriented Programming Part V: Return of the Values - Tony Van Eerd - CppNorth 2023

Sdílet
Vložit
  • čas přidán 3. 10. 2023
  • www.cppnorth.ca​
    ---
    Value Oriented Programming Part V: Return of the Values - Tony Van Eerd - CppNorth 2023
    Last year was "Value Oriented Programming Part 1: Functions".
    But it would feel odd if the Value part of Value-Oriented Programming was called "Part 2". Surely Values should have been Part 1?
    Why not both? Could they each be labelled Part 1? Values and Functions equally important?
    Or maybe Values should be Part 0?
    Then I thought "just call it Part X and decide later", and then - well why not V for Value, and then of course! Episode V: Return of the Values. It makes so much sense!
    With functions covered last year, this year we will look at how making some of (most of!?) your types behave more like "values" than "objects" (with an explanation of what those mean) can improve code readability, correctness, maintainability, testability, and maybe even performance.
    P.S. yeah, I know, the episode number should be VI.
    ---
    Slides: github.com/CppNorth/CppNorth_...
    Sponsored By:
    think-cell: www.think-cell.com/cppnorth
    JetBrains: www.jetbrains.com/
    ---
    Tony Van Eerd
    Tony has been coding for well over 25 years, and hopefully coding well for most of that. Previously at Inscriber, Adobe, and BlackBerry, he now enables painting with light at Christie Digital. He is on the C++ Committee. He is a Ninja and a Jedi.
    ---
    CppNorth is an annual C++ conference held in Toronto, Canada.
    - Annual CppNorth C++ conference: cppnorth.ca/
    - CppNorth Twitter: / cppnorth
    ---
    CZcams Videos Edited & Optimised by Digital Medium: events.digital-medium.co.uk
    #cppnorth #cpp #programming
  • Věda a technologie

Komentáře • 4

  • @ChristianBrugger
    @ChristianBrugger Před 7 měsíci +1

    Amazing talk as always!

  • @aniketbisht2823
    @aniketbisht2823 Před 7 měsíci +1

    Elements of Programming by Alexander Stepanov and Paul McJones, should be a must read for every C++ programmers. C++ by default have value semantics (unlike Java) but programmers need to be educated about these concepts so they can model their own "Value Type"s using C++ classes.

  • @hiftu
    @hiftu Před 7 měsíci

    Ship of Theseus problem solution:
    You label the new parts to "part XY of ship of Theseus"
    You remove this label from old, replaced parts.
    Everything with the label is the ship, old parts are not part of the ship anymore.
    Construction of a ship from old parts is not the ship of Theseus, because they don't have the label.