merari42@lemmy.world to Programmer Humor@programming.dev · 2 years agoThe state should be purely passed through function inputs and outputslemmy.worldimagemessage-square38linkfedilinkarrow-up1749arrow-down16
arrow-up1743arrow-down1imageThe state should be purely passed through function inputs and outputslemmy.worldmerari42@lemmy.world to Programmer Humor@programming.dev · 2 years agomessage-square38linkfedilink
minus-squaremarcos@lemmy.worldlinkfedilinkarrow-up5arrow-down1·2 years agoJust like functional programing is about making state explicit, not making it go away. Overall, both arms are wrong… so they cancel out or something like that.
Just like functional programing is about making state explicit, not making it go away.
Overall, both arms are wrong… so they cancel out or something like that.