☆ Yσɠƚԋσʂ ☆@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 2 years agoWhen programmers see Lisplemmy.mlimagemessage-square18fedilinkarrow-up1121
arrow-up1121imageWhen programmers see Lisplemmy.ml☆ Yσɠƚԋσʂ ☆@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 2 years agomessage-square18fedilink
minus-squarecadekat@pawb.sociallinkfedilinkarrow-up3·2 years agoThe real interesting debate is between ((f) 1) and f()(1).
minus-square☆ Yσɠƚԋσʂ ☆@lemmy.mlOPlinkfedilinkarrow-up2·2 years 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.