☆ Yσɠƚԋσʂ ☆ to Programmer [email protected]English • 10 months agoWhen programmers see Lisplemmy.mlimagemessage-square21fedilinkarrow-up1121arrow-down117
arrow-up1104arrow-down1imageWhen programmers see Lisplemmy.ml☆ Yσɠƚԋσʂ ☆ to Programmer [email protected]English • 10 months agomessage-square21fedilink
minus-square@[email protected]linkfedilink3•9 months agoThe real interesting debate is between ((f) 1) and f()(1).
minus-square☆ Yσɠƚԋσʂ ☆OPlinkfedilink-8•9 months agoI personally find ((f) 1) easier to read. You just go inside out, evaluate f, then pass 1 as the argument to the output of f. There’s no ambiguity regarding order of evaluation there.
The real interesting debate is between
((f) 1)
andf()(1)
.I personally find
((f) 1)
easier to read. You just go inside out, evaluatef
, then pass1
as the argument to the output off
. There’s no ambiguity regarding order of evaluation there.