debugging a broken cache!

แชร์
ฝัง
  • เผยแพร่เมื่อ 18 ธ.ค. 2024

ความคิดเห็น • 12

  • @king40342
    @king40342 11 ชั่วโมงที่ผ่านมา +13

    Don't you love when you do all of the work to show how to reproduce a bug, then someone says that they fixed it without verifying that the bug was fixed from your steps.

  • @mrswats
    @mrswats 15 ชั่วโมงที่ผ่านมา +10

    I see you changed the strategy from forgetting to link to tell viewers to search. Smart change.

  • @redark7
    @redark7 16 ชั่วโมงที่ผ่านมา +4

    That copy function is clearly wrong. Any time you copy what is actually pointers to members those need update, I am surprised how that first implementation went through.

  • @shadowviper95
    @shadowviper95 14 ชั่วโมงที่ผ่านมา +5

    I may have missed a vid you made in the past, but why is match a "forbidden technique"? From the small chances I have had to use it, its very useful.

    • @anthonywritescode
      @anthonywritescode  14 ชั่วโมงที่ผ่านมา +3

      imo match and assignment expressions usually make code harder to understand (and have sharp edges that are all too easy to make big mistakes with). match isn't a switch -- it's pattern matching and unless you're familiar with pattern matching the behavior can be quite jarring.

    • @jamesarthurkimbell
      @jamesarthurkimbell 11 ชั่วโมงที่ผ่านมา

      @@anthonywritescode That's funny that you say match and walrus together, since I've been saying that match helps me avoid all the places I would have been tempted to use walrus. The way you can capture a thing with a name while also doing something else, etc.

  • @burnere633
    @burnere633 14 ชั่วโมงที่ผ่านมา +7

    😦 Why aren't you uploading AoC videos to TH-cam?

    • @anthonywritescode
      @anthonywritescode  14 ชั่วโมงที่ผ่านมา +3

      I am! they are on the second channel @anthonywritescode-vods

    • @burnere633
      @burnere633 13 ชั่วโมงที่ผ่านมา +1

      @@anthonywritescode Oh, yay!

  • @DrMole94
    @DrMole94 9 ชั่วโมงที่ผ่านมา

    whath are thr x-failed ones?

    • @anthonywritescode
      @anthonywritescode  8 ชั่วโมงที่ผ่านมา

      xfail is "expected failure". personally I often use them for "it would be nice if this was eventually implemented but it doesn't work yet". or "I know this doesn't work on this python version" etc.