when would you choose to use `let` instead of `run...
# announcements
r
when would you choose to use
let
instead of
run
. I find
run
more convenient, cause of the lamda receiver (no
it
is my reason for choosing it over
let
), but I want to know if I’m using misusing these functions.
i
You are correct It's good to use
let
if you care about the recover (accessed as
it
inside lambda), otherwise go with run. Now days there is even IDE intention to convert
let
->
run
if
it
is not used
👍 1