Tips on how to use let blocks to shadow local variables and avoid accidentally modifying the original variable

What is wrong with just using

gobal_value = let x, y
    x = <expression-to-compute-x>
    y = <expression-to-compute-y>
    <expression-using-x-and-y>
end
1 Like