debugging a broken cache!

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

КОМЕНТАРІ • 12

  • @king40342
    @king40342 18 годин тому +16

    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 22 години тому +11

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

  • @shadowviper95
    @shadowviper95 21 годину тому +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  21 годину тому +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 18 годин тому

      @@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.

  • @redark7
    @redark7 22 години тому +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.

  • @burnere633
    @burnere633 21 годину тому +8

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

    • @anthonywritescode
      @anthonywritescode  21 годину тому +3

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

    • @burnere633
      @burnere633 20 годин тому +1

      @@anthonywritescode Oh, yay!

  • @DrMole94
    @DrMole94 16 годин тому

    whath are thr x-failed ones?

    • @anthonywritescode
      @anthonywritescode  15 годин тому

      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.