When defining multiple variables in a let block, I tend to favor the following syntax (which I learned about here on Discourse, too). In the line of the let
keyword, I only list the variables to be given a local scope, without their assigned values. And then, in the first fiew lines of the body of the let
block, I assign their values. E.g.,
global_value = let x, y
x = <expression-to-compute-x>
y = <expression-to-compute-y>
<expression-using-x-and-y>
end