ZILtoid1991@lemmy.world to Programmer Humor@programming.devEnglish · 2 years agoFunctional bros be likelemmy.worldimagemessage-square52linkfedilinkarrow-up1236arrow-down113
arrow-up1223arrow-down1imageFunctional bros be likelemmy.worldZILtoid1991@lemmy.world to Programmer Humor@programming.devEnglish · 2 years agomessage-square52linkfedilink
minus-squarejendrik@discuss.tchncs.delinkfedilinkarrow-up1·2 years agoA closure is a function with captured state. An object is state with methods.
I don’t see the duality
A closure is a function with captured state. An object is state with methods.