merari42@lemmy.world to Programmer Humor@programming.dev · 10 hours agoThe state should be purely passed through function inputs and outputslemmy.worldexternal-linkmessage-square89fedilinkarrow-up1646arrow-down14
arrow-up1642arrow-down1external-linkThe state should be purely passed through function inputs and outputslemmy.worldmerari42@lemmy.world to Programmer Humor@programming.dev · 10 hours agomessage-square89fedilink
minus-squareReptorian@programming.devlinkfedilinkarrow-up1·edit-27 hours agoI use states, but no classes. G’MIC is my main language. I do appreciate the functional way of thinking after writing in it for so long. States are just variables that defines the mode of something, right?
I use states, but no classes. G’MIC is my main language. I do appreciate the functional way of thinking after writing in it for so long. States are just variables that defines the mode of something, right?