r/ProgrammingLanguages • u/jamiiecb • Apr 10 '26
Borrow-checking surprises
https://www.scattered-thoughts.net/writing/borrow-checking-surprises
52
Upvotes
r/ProgrammingLanguages • u/jamiiecb • Apr 10 '26
View all comments
Show parent comment
1
u/Uncaffeinated 1subml, polysubml, cubiml Apr 12 '26
I think most people would expect
foo.bar(a())to be evaluated beforeb(). And they would certainly expecta()to be evaluated beforeb().