The Do's and Don'ts of Error Handling • Joe Armstrong • GOTO 2018

Sdílet
Vložit
  • čas přidán 7. 06. 2024
  • This presentation was recorded at GOTO Chicago 2018. #gotocon #gotochgo
    gotochgo.com
    Joe Armstrong - Principal Inventor of the Erlang Programming Language
    ABSTRACT
    Handling errors in programs is tricky.
    We want to write systems that work reasonable well even if there are errors in the code. This is possible, and the results have been used in production systems for many years.
    This talk outlines the do's and don'ts of error handling. Things you should do if you want to write fault tolerant code, and things you should not do.
    I will argue that making fault-tolerant and scalable systems is possible if you [...]
    Download slides and read the full abstract here:
    gotochgo.com/2018/sessions/352
    / gotochgo
    / gotoconference
    gotocon.com
    #ErrorHandling #Erlang #FaultTolerance
    Looking for a unique learning experience?
    Attend the next GOTO Conference near you! Get your ticket at gotocon.com
    SUBSCRIBE TO OUR CHANNEL - new videos posted almost daily.
    czcams.com/users/GotoConf...
  • Věda a technologie

Komentáře • 36

  • @SahinKupusoglu
    @SahinKupusoglu Před 5 lety +117

    RIP, Joe Armstrong; I learned about you too late, but will certainly study your work.

  • @valethemajor
    @valethemajor Před 4 lety +75

    "Kubernetes--"
    Joe: 'Who? Who's that?'
    LOL

  • @esdrasmayrink9057
    @esdrasmayrink9057 Před 5 lety +57

    What a fantastic mind.
    Sad to hear about your parting, Joe.
    The world was better with you here.

    • @JeremyAndersonBoise
      @JeremyAndersonBoise Před 5 lety +2

      Esdras Mayrink oh no! I am so sad to hear this news. The world is darker without him, surely. Rest in peace, Joe.

  • @manujbhallaindia
    @manujbhallaindia Před 5 lety +26

    RIP Joe Armstrong your work made significant impact on software industry

  • @CottidaeSEA
    @CottidaeSEA Před rokem +3

    Wrap your main/entry point in a try-catch and pretend like nothing bad is happening.

  • @venkatrajanala6841
    @venkatrajanala6841 Před 5 lety +5

    Rip Joe!

  • @thelonearchitect
    @thelonearchitect Před 3 lety +3

    Amazing talk, a shame the sound is so bad...

  • @koredeaderele1666
    @koredeaderele1666 Před 5 lety +14

    the emphasis on "messaging" in OOP, makes it seem like there's a lot more inherent similarity between FP and fundamental OOP

    • @JeremyAndersonBoise
      @JeremyAndersonBoise Před 5 lety +18

      Korede Aderele; I believe that’s because almost everyone misapprehends the historical essence of OOP as described by Alan Kay.
      OOP is about messaging between objects, not about instantiating Classes.

    • @AlNewkirk
      @AlNewkirk Před 3 lety +2

      Fwiw, OOP doesn’t prescribe encapsulating state. That’s just how most people do it.

    • @nolan412
      @nolan412 Před 3 lety

      Smalltalk actually did Erlang style message passing. (Joe says I was wrong.)

  • @ximalas
    @ximalas Před 5 lety +1

    16:51 Does anyone know what happened to the Bluetail Mail Robustifier?

  • @JeremyAndersonBoise
    @JeremyAndersonBoise Před 5 lety +31

    If Joe isn’t among your heroes then you’re still a junior dev.

    • @Zhuinden
      @Zhuinden Před 4 lety +4

      Joseph Leslie Armstrong (27 December 1950 - 20 April 2019) was a computer scientist working in the area of fault-tolerant distributed systems. He is best known as one of the co-designers of the Erlang programming language.
      Died‎: ‎20 April 2019 (aged 68) :/

    • @D4no00
      @D4no00 Před 10 měsíci

      if the concepts he is talking about here are foreign for you, then you are a failed developer, enjoy your salary and don't make the community a toxic place.

    • @ME0WMERE
      @ME0WMERE Před 9 měsíci

      @@D4no00 that's to say nothing of experience .-.

  • @altanozlu8268
    @altanozlu8268 Před 5 lety +4

    Requescat in pace

  • @edgeeffect
    @edgeeffect Před 2 lety +2

    'The type system doesn't tell you that "open a file, close a file, read the file" is incorrect'.... well, a good type system has a different type for open-file and non-open-file.

    • @lepidoptera9337
      @lepidoptera9337 Před rokem +1

      Type systems can't prevent people from being stupid. If you are trying to reduce programming to the art of hiring people who can't program as much as "Hello World!" to reduce hourly wages, then you are in for a bad surprise.

  • @eyaswoo1483
    @eyaswoo1483 Před 2 lety

    What if Michael Palin was a computer scientist.

  • @albertofunk1167
    @albertofunk1167 Před 3 lety +5

    I call silent and deadly errors "ninja errors" 😀

  • @ujin981
    @ujin981 Před 2 měsíci

    "You can program in Rust and things like that or whatever and maybe you can prove it to be correct" and then get hit by lightning =)

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

    The word "do's" is not correct. If it was, why isn't its counterpart written as "don't's"? The answer is that an apostrophe is not punctuation to denote plurality.

  • @christopherstamp9716
    @christopherstamp9716 Před 5 lety +4

    Concurrency is the execution of independently executable tasks. It doesn't mean they all are executing at once...

    • @JeremyAndersonBoise
      @JeremyAndersonBoise Před 5 lety +11

      Christopher Stamp a fact not lost on Mr. Armstrong. Was your comment a shallow criticism, or did you have a deeper observation to make?

    • @nobodygone1763
      @nobodygone1763 Před 3 lety +5

      If you want to get pedantic even if you neglect the fact that the model and runtime he's promoting satisfy both properties because concurrent tasks are performed on multiple cores.
      Even if he's using a single threaded event loop on a runtime with a GIL because he's running the code on multiple machines it is still both concurrent and parallel.
      Honestly in general when it comes to nerds the ones who are super invested in pedantry and jargon are full of shit or are just OCD and hard to work with.

  • @user-yb8ck6cf2m
    @user-yb8ck6cf2m Před 5 lety +8

    Interesting but too abstract.

    • @robchr
      @robchr Před 5 lety +25

      You can read more detail in Joe's dissertation "Making reliable distributed systems in the presence of software errors".

    • @JeremyAndersonBoise
      @JeremyAndersonBoise Před 5 lety +16

      Because your thinking is, as of yet, insufficiently abstract to derive value from it. Best wishes for the future!

    • @jaythomas3180
      @jaythomas3180 Před 3 lety +8

      @@JeremyAndersonBoise I looked up pompous in the dictionary and it linked me to your comment.

    • @williamrusnack6829
      @williamrusnack6829 Před 3 lety +8

      @@jaythomas3180 Jeremy is pompous but correct

  • @ImaginaryNumb3r
    @ImaginaryNumb3r Před 4 lety +2

    What a nice person.
    The talk was delightful, albeit useless.