3 ms·
The Rust code reads strangely, or at least inconsistently. Why are you returning res1 and res2 over having a magic operator handle them? I would expect somethi
by randomdata 4y ago
The Rust code reads strangely, or at least inconsistently. Why are you returning res1 and res2 over having a magic operator handle them?
I would expect something like:
canFail()?!
canFail()?!
The Go code looks like at least some thought was put into the design, even if it is not the best code ever written.