What are the main reasons why someone would use let
:
(let((x 4)) (+ x 12))
Instead of doing the same thing with a define
:
(define x 4)
(+ x 12)
Would there be examples of things that would work with one that wouldn't work with the other approach?