Kevlin Henney - Functional C++

Поділитися
Вставка
  • Опубліковано 23 січ 2025

КОМЕНТАРІ • 24

  • @nahco3994
    @nahco3994 4 роки тому +17

    One of my secret wishes is to witness a public discussion between this guy and Mike Acton.

  • @kubic-c3186
    @kubic-c3186 3 роки тому +6

    I think Functional programming biggest benefit is readability, and that if you pass the same arguments over and over again you are guaranteed to get the same results/return value/output

  • @ZoranRavic
    @ZoranRavic 7 років тому +10

    Great talk, as is expected from Kevlin.

  • @RoamingAdhocrat
    @RoamingAdhocrat 5 місяців тому

    I've never felt older than when I saw that URL to a specific Facebook post, back from before everything on that site was lost in a sea of grey sludge and Minion memes

  • @dennisweyland7613
    @dennisweyland7613 6 років тому +2

    When we go and find "Neo", we do actually... we find that he is the one! - brilliant

  • @Baekstrom
    @Baekstrom 3 роки тому

    Sadly in C++ declaring a function const doesn't mean that it can't have any side effects. It only means that the direct member variables in the object won't be changed. If you have members that are pointers to other objects, you can change those other objects to your heart's content as long as you just don't change your pointers to point to other objects. Objects that are passed to the function by reference can be changed as well.
    You can of course make functions with no side effects, but the compiler will only give you a little bit of help checking that you don't mess up.

  • @johnwarren6966
    @johnwarren6966 6 років тому +1

    Major props for the Matrix references near the end of the talk. Neo is the 1!

  • @letsgobrandon416
    @letsgobrandon416 4 роки тому +1

    Rust is a whole lot more relevant today at the tail end of 2020 than it was nearly 4 years ago during this talk.

  • @BuildStuff
    @BuildStuff  7 років тому +1

    Join next Build Stuff event in Mallorca 29-30 April, 2017! www.buildstuff.es

  • @rfymf
    @rfymf 7 років тому +19

    "Hamlet is into garbage collection"...

  • @oisnowy5368
    @oisnowy5368 6 років тому +1

    There is an error with the audio in the first ten seconds. Would recommend the video to others if it weren't for that.

  • @edminchau811
    @edminchau811 5 років тому

    Think hard why not? How hard is it to think about an exponential memory explosion?

  • @zh-weng
    @zh-weng 4 роки тому

    You konw functional programming is getting serious when c++ is talking about functional programming...

  • @GeorgeTsiros
    @GeorgeTsiros 2 роки тому

    it's not pronounced "i d", it is pronounced "id" as "it", it's from the latin "self/i"

    • @williamchamberlain2263
      @williamchamberlain2263 10 місяців тому +1

      No, it's I.D. from Identifying Document

    • @GeorgeTsiros
      @GeorgeTsiros 10 місяців тому

      @@williamchamberlain2263 I'm talking about the game development company "id".

  • @tieskedh
    @tieskedh 6 років тому +2

    Haha, casting should look ugly and so don't use the the simple brackets.
    Welcome kotlin, where an if automatically casts the type

    • @Evan490BC
      @Evan490BC 5 років тому

      I don't know Kotlin, how does your `if` example work? I don't understand the casting here. Does it implicitly cast to bool?