ZILtoid1991@lemmy.world to Programmer Humor@programming.devEnglish · 6 months agoFunctional bros be likelemmy.worldimagemessage-square66fedilinkarrow-up1312arrow-down117
arrow-up1295arrow-down1imageFunctional bros be likelemmy.worldZILtoid1991@lemmy.world to Programmer Humor@programming.devEnglish · 6 months agomessage-square66fedilink
minus-squarejendrik@discuss.tchncs.delinkfedilinkarrow-up1·6 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.