There is truth here which is why I’m saying we should keep the existing way of doing things. But
Borrow are well known life concepts to anyone who grew up in America and Europe, who are the majority of the expected Rust user base. I’d be interested to hear from someone who teaches Rust about how often new students get hung up on & and &mut?
And to be clear I can get a handle on them pretty quickly, even just going through this discussion I’ve pretty much got it within the first day, but I’m not average. Most likely none of us are. We all likely have a lot of experience with different programming languages, but I work with enough non-programmers to be able to tell you that this
let x = &a
let y = &mut b
is harder for them to understand than this
let x = look a
let y = borrow b
it’s the exact same functionality in the exact same grammar, and the compiler doesn’t actually care which version we use.
With the widening popularity of things like the MEAN stack and the ease of programming web apps we’re going to get a lot more people exploring Rust who don’t come from our same background with our same advantages, for whom mentally swapping symbology for words isn’t as easy as it is for us.
Based on this video here it seems like Rust is trying to be more ergonomic for this new breed of programmer, and I’m just trying to make sure we don’t alienate them by showing them something that looks intimidating when it would be just as easy to alias it to something they they can bring from their daily life.