merari42@lemmy.world to Programmer Humor · 13 hours agoThe state should be purely passed through function inputs and outputslemmy.worldimagemessage-square96fedilinkarrow-up1763arrow-down15cross-posted to: [email protected]
arrow-up1758arrow-down1imageThe state should be purely passed through function inputs and outputslemmy.worldmerari42@lemmy.world to Programmer Humor · 13 hours agomessage-square96fedilinkcross-posted to: [email protected]
minus-squareReptorianlinkfedilinkarrow-up1·edit-29 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?