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.
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.
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.
@@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.
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.
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.
I see you changed the strategy from forgetting to link to tell viewers to search. Smart change.
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.
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.
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.
@@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.
😦 Why aren't you uploading AoC videos to TH-cam?
I am! they are on the second channel @anthonywritescode-vods
@@anthonywritescode Oh, yay!
whath are thr x-failed ones?
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.