r/ProgrammingLanguages • • Apr 10 '26

Borrow-checking surprises

https://www.scattered-thoughts.net/writing/borrow-checking-surprises
52 Upvotes

27 comments sorted by

View all comments

Show parent comment

8

u/Uncaffeinated 1subml, polysubml, cubiml Apr 11 '26

I disagree. Using non-standard evaluation order is going to lead to very confusing behavior. Even if you don't promise it, users will still assume left-to-right evaluation, and get mad when it doesn't happen.