4 ms·
Interestingly, Rust can be quite opinionated abour code organisation (it makes you keep things in bigger chunks), because some of the compiler analysis doesn't
by nicoburns 7y ago
Interestingly, Rust can be quite opinionated abour code organisation (it makes you keep things in bigger chunks), because some of the compiler analysis doesn't work through function boundaries.
- heavenlyblue 7y agoI think this one is bullshit, can anyone else comment on this one? Are there things you may only do iff you using a single function body?
- nicoburns 7y agoA key one is partial borrows of structs (i.e. borrowing only 1 field, and then later borrowing a different one).