merari42@lemmy.world to Programmer Humor@programming.dev · 1 month agoThe state should be purely passed through function inputs and outputslemmy.worldimagemessage-square112fedilinkarrow-up1948arrow-down17cross-posted to: flippanarchy@lemmy.dbzer0.com
arrow-up1941arrow-down1imageThe state should be purely passed through function inputs and outputslemmy.worldmerari42@lemmy.world to Programmer Humor@programming.dev · 1 month agomessage-square112fedilinkcross-posted to: flippanarchy@lemmy.dbzer0.com
minus-squaremarcos@lemmy.worldlinkfedilinkarrow-up6arrow-down1·1 month 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.