ZILtoid1991@lemmy.world to Programmer Humor@programming.devEnglish · 4 months agoFunctional bros be likelemmy.worldimagemessage-square61fedilinkarrow-up1301arrow-down116
arrow-up1285arrow-down1imageFunctional bros be likelemmy.worldZILtoid1991@lemmy.world to Programmer Humor@programming.devEnglish · 4 months agomessage-square61fedilink
minus-squarejendrik@discuss.tchncs.delinkfedilinkarrow-up1·3 months 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.