Re:Rust 1.50
by alfiedotwtf on Friday February 12, 2021 @02:28AM
(#26111423)
I used to like explicit if/then and using match, but chaining really does reduce code. It can sometimes take a while to golf it down, but damn is it satisfying when it’s all so compact. Followed by a `cargo fmt` and it feels way more elegant than branching
[ Parent
| on HN ]
There are no comments on this comment yet.