ZILtoid1991@lemmy.world to Programmer Humor@programming.devEnglish · 8 months agoFunctional bros be likelemmy.worldimagemessage-square58fedilinkarrow-up1301arrow-down117
arrow-up1284arrow-down1imageFunctional bros be likelemmy.worldZILtoid1991@lemmy.world to Programmer Humor@programming.devEnglish · 8 months agomessage-square58fedilink
minus-squarejendrik@discuss.tchncs.delinkfedilinkarrow-up1·8 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.