☆ Yσɠƚԋσʂ ☆ to Programmer HumorEnglish · 1 year agoWhen programmers see Lispimagemessage-square21fedilinkarrow-up1125arrow-down117
arrow-up1108arrow-down1imageWhen programmers see Lisp☆ Yσɠƚԋσʂ ☆ to Programmer HumorEnglish · 1 year agomessage-square21fedilink
minus-squarecadekat@pawb.sociallinkfedilinkarrow-up3·1 year agoThe real interesting debate is between ((f) 1) and f()(1).
minus-square☆ Yσɠƚԋσʂ ☆OPlinkfedilinkarrow-up3arrow-down10·1 year 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.