merari42@lemmy.world to Programmer Humor@programming.dev · 3 months agoThe state should be purely passed through function inputs and outputslemmy.worldimagemessage-square112linkfedilinkarrow-up1949arrow-down17cross-posted to: flippanarchy@lemmy.dbzer0.com
arrow-up1942arrow-down1imageThe state should be purely passed through function inputs and outputslemmy.worldmerari42@lemmy.world to Programmer Humor@programming.dev · 3 months agomessage-square112linkfedilinkcross-posted to: flippanarchy@lemmy.dbzer0.com
minus-squareReptorian@programming.devlinkfedilinkarrow-up1·edit-23 months 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?