Lecture 7: Side Effects - Richard Buckland UNSW 2008

Поділитися
Вставка
  • Опубліковано 19 вер 2024

КОМЕНТАРІ • 18

  • @YoeyYutch
    @YoeyYutch 5 років тому +3

    @UNSWelearning Oh no! Lecture 7 was replaced by a stub video! I was so excited to share Professor's impersonation of the computer(see comment below from a year ago). He does such a great job keeping things lively. This was honestly one of my favorite videos of all time. Please reupload if you can. Thanks!

    • @YoeyYutch
      @YoeyYutch 4 роки тому

      @hammertapping download from where? Thanks.

    • @YoeyYutch
      @YoeyYutch 4 роки тому

      ​@hammertapping This video is only three minutes long. The hour-long lecture video was removed and this video was put in its place. In order to download the original video I would need that url.... unless I'm missing something. No big deal. I just like his little spiel about returning zero from main. It's in the transcript...

    • @YoeyYutch
      @YoeyYutch 4 роки тому

      32:47
      if it's not there what's your operating
      32:49
      system gonna do what's that
      32:52
      whatever it's allowed to do whatever
      32:54
      wants I mean maybe there's a bit of
      32:56
      rubbish stored there there's it's
      32:58
      expecting this function to return a
      33:00
      number it's set aside a little spot
      33:01
      inside it's much precious area and
      33:03
      thinking I think the function finishes
      33:05
      they'll put a number there and that's
      33:07
      your whole program when it finishes is
      33:09
      summarized everything else your program
      33:11
      does is a side-effect when your program
      33:13
      finishes the only thing that summarizes
      33:15
      the behavior of the program is the
      33:16
      number it returns everything else is a
      33:18
      side-effect so the operating system it
      33:20
      doesn't know what you're doing it just
      33:21
      knows at the end it gonna give me a
      33:22
      number when they finished you don't give
      33:26
      it the number your party says he's
      33:28
      finished I'm gonna look in the precious
      33:30
      spot and see what number he returned oh
      33:32
      nine million three hundred and twenty
      33:34
      six thousand eight hundred and seventeen
      33:36
      - because that's cuz that's a random bit
      33:39
      of rubbish it was sitting in X it hasn't
      33:41
      been initialized yet oh that means he
      33:44
      wants me to explode

    • @YoeyYutch
      @YoeyYutch 4 роки тому

      It's funnier when he says it :)

  • @DIABLOVT12
    @DIABLOVT12 15 років тому

    Man, I love Richard. This is what teaching should be like. We need more Richards! :p :)

  • @YoeyYutch
    @YoeyYutch 7 років тому

    32:57 He's so funny when he impersonates computers. I like how excited the computer is to get its int value returned.

  • @martinledermann1862
    @martinledermann1862 9 років тому

    Does anyone know the answer to the question regarding why the 24th instruction isn't named "Instruction #16"?

  • @mauricio0guaruja
    @mauricio0guaruja Рік тому

    Video is not working, stops after minute 3

  • @evillemonkey
    @evillemonkey 15 років тому

    I read it :-)

  • @faux0pas
    @faux0pas 11 років тому

    I was hoping the viking music was going to be Turisas, Alestorm, Ensiferum .... Yodeling Lmao

  • @ASeventhSign
    @ASeventhSign 13 років тому

    -9,326,817!!!
    Oh! That means he wants me to explode!

  • @JoanneMoo
    @JoanneMoo 11 років тому

    Mozart - Symphony No. 25 in G minor!!

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

    What happened to this video? It was about 1 hour long and I watched it for about 10 minutes when I had to go off and do other things. Now it's suddenly only 3 minutes long and I can't watch the rest?

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

      Ah, it’s back and it seems to be complete now at around 39 minutes. From other comments it looks like this happened before. Weird. Anyway, great lecture as always. I am learning a lot!

    • @adityapatane6789
      @adityapatane6789 9 місяців тому

      @@CerberusDawg from where did you get the whole lecture?

    • @CerberusDawg
      @CerberusDawg 9 місяців тому

      ⁠@@adityapatane6789it is a playlist on the channel. Should be the oldest playlist called “CS1: Higher computing”. Chapter 37 is missing but can be found on Richard Buckland’s own channel

    • @adityapatane6789
      @adityapatane6789 9 місяців тому

      @@CerberusDawg i was trying to do 7th lecture . but the whole lecture is not available only the 3 mins lecture. Where can I access 7th full lecture?