by IshKebab · 7y ago · 0 comments
Right, but this is presumably a one-time investment while learning Rust, much less of an ongoing hurdle.
Look at the kind of programs that NLL now allows. You wouldn't have to jump through those hoops in another language.
a) you used .clone() everywhere and therefore are probably modifying something and failing to propagate the modifications to where they need to go; or
b) your design is inherently better, saner, easier-to-optimize, etc., than one which doesn't have to satisfy the borrow checker.