3 ms·
Yeah to be clear I'm not opposed to the semantics of how Rust manages lifetimes. I'm ... disturbed.. by the syntax. It feels "bolted on". Variable assignments
by cmrdporcupine 4y ago
Yeah to be clear I'm not opposed to the semantics of how Rust manages lifetimes. I'm ... disturbed.. by the syntax.
It feels "bolted on".
Variable assignments and usages that borrow should be clear with a different syntax.
Lifetimes should not be lumped in the same box with other type parameters but instead broken out visually into some other sort of annotation on the type.
BTW I also think "std::move" in C++ is a hack. They should have introduced a new syntactical element for that as well instead of masquerading it underneath a pseudo-function.