dullbananas (Joseph Silva)@lemmy.ca to Programmer Humor@programming.devEnglish · 4 days agorecursionlemmy.caexternal-linkmessage-square6fedilinkarrow-up11arrow-down10
arrow-up11arrow-down1external-linkrecursionlemmy.cadullbananas (Joseph Silva)@lemmy.ca to Programmer Humor@programming.devEnglish · 4 days agomessage-square6fedilink
minus-squareJumuta@sh.itjust.workslinkfedilinkarrow-up1·4 days agois tail recursion really recursion?
minus-squareqarbone@lemmy.worldlinkfedilinkEnglisharrow-up1·4 days agoI wouldn’t even really call this recursion. This is closer to a wrapper around the enjoy function to set variables so that “enjoy” doesn’t throw an error.
minus-squareentropicdrift@lemmy.sdf.orglinkfedilinkarrow-up0·4 days agoThe more accurate, yet not at all funny interpretation
minus-squareqarbone@lemmy.worldlinkfedilinkEnglisharrow-up1·4 days agoI find it as funny as the original post
is tail recursion really recursion?
I wouldn’t even really call this recursion. This is closer to a wrapper around the enjoy function to set variables so that “enjoy” doesn’t throw an error.
The more accurate, yet not at all funny interpretation
I find it as funny as the original post
Oh. Now I get it. Thanks.
Depends on your optimization level.