I Stopped Writing if/else Chains in Rust. Here’s What I Write Instead. (opens in new tab)
Java trained me to think in if/else. Check the condition, branch left or right, nest another if inside if you need more cases. After years…
Read the original article