Honestly, I'm really happy it's coming. I was a bit apprehensive too initially but ever since then I have started noticing places where the walrus operator would really simplify my code. I don't like writing the double lines personally, I really feel this optimization is nice.
Honestly, I'm really happy it's coming. I was a bit apprehensive too initially but ever since then I have started noticing places where the walrus operator would really simplify my code. I don't like writing the double lines personally, I really feel this optimization is nice.
Do you have any cool examples? I’m actually pretty excited to see how the community uses this operator.
I have yet to port my bigger projects to it but if I write something cool I'll let ya know.
Have a cool example now. Calculating diff b/w subsequent values.