2 ms·
> I don't think move semantics are really that bad personally, and some languages move by default (isn't that Rust's whole thing?). Rust's move semantics are g
by loeg 1y ago
> I don't think move semantics are really that bad personally, and some languages move by default (isn't that Rust's whole thing?).
Rust's move semantics are good! C++'s have a lot of non-obvious footguns.
> (oh and I think you can write a whole book on the different ways to initialize variables in C++).
Yeah. Default init vs value init, etc. Lots of footguns.