`let {}` is kinda cryptic.
# getting-started
d
let {}
is kinda cryptic.
s
I don’t think it’s that much more difficult to reason about
d
It's not much more but is more?
s
well, sure, but calling it “kinda cryptic” would be a little much I feel like
d
Your suggestion was,
takeUnless {}
was good.
s
I’d still recommend
takeUnless
in a code review or something
d
Exactly!
s
but in a more complex expression, an
if/else
may actually be more readable
it’s context-dependent
d
True
I guess cryptic has some stigma around it.
I was just trying to say less readable.
s
sure
d
You are correct.