Neat trick using “list_for_each” to shorten a verbose for loop that’s nearly always the same. Although it did make me do a double take. And since it’s hiding control flow, it would make ‘break’ and ‘continue’ look out of place. Is this a common convention and you just kind of get used to it?
Hidden control flow is why I decided to learn Zig [1]. I was learning Rust, and I intend to keep at it, but I have chosen Zig to be my C replacment because I am personally finding it easier to be more productive. Andrew Kelley's doing a great job with the language!