merari42@lemmy.world to Programmer Humor@programming.dev · 1 day agoThe state should be purely passed through function inputs and outputslemmy.worldimagemessage-square97fedilinkarrow-up1874cross-posted to: flippanarchy@lemmy.dbzer0.com
arrow-up1874imageThe state should be purely passed through function inputs and outputslemmy.worldmerari42@lemmy.world to Programmer Humor@programming.dev · 1 day agomessage-square97fedilinkcross-posted to: flippanarchy@lemmy.dbzer0.com
minus-squaremarcos@lemmy.worldlinkfedilinkarrow-up5·22 hours 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.