3 ms·
They're nothing against nested applications of the above, though. :-) t && a() || (u && b() || c()) Personally, I enjoy Rust's choice of letting `if` be a
by simonask 8y ago
They're nothing against nested applications of the above, though. :-)
t && a() || (u && b() || c())
Personally, I enjoy Rust's choice of letting `if` be an expression.
- paulddraper 8y ago> I enjoy Rust's choice As a Scala user, I agree it really is the best val a = if (t) a() else b()