ZILtoid1991@lemmy.world to Programmer HumorEnglish · 9 months agoFunctional bros be likelemmy.worldimagemessage-square60fedilinkarrow-up1313arrow-down117
arrow-up1296arrow-down1imageFunctional bros be likelemmy.worldZILtoid1991@lemmy.world to Programmer HumorEnglish · 9 months agomessage-square60fedilink
minus-squarejendrik@discuss.tchncs.delinkfedilinkarrow-up1·9 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.