I'm sure you have used it in things like `if let Some(x) = foo` where x is the binding, then.
I recognize the name binding being used there all the time, but maybe variable would work well in this particular context too?
I recognize the name binding being used there all the time, but maybe variable would work well in this particular context too?
This aligns with the fact that the mutability is (syntactically and conceptually) a property attached to the binding, and hence there is a need to talk about bindings generally without implying anything about the mutability. Lots of languages don’t have immutable bindings, all bindings are mutable, so you may as well call them variables in C, Go, etc.
Mathematics has had immutable variables since long before computers.