Post
`else if () {}` is just sugar for `else { if () {} }` so that would dictate the behaviour either way.
0 reposts2 likes
Well my opinion on this is weak either way because regardless of the final convention, there are ways to write the code to make memory free when you want and they don't seem particularly burdensome. Eg. if Rust-like you could just declare the viable outside the if in a using block to keep it scoped.