merari42@lemmy.world to Programmer Humor@programming.dev · 3 days agoThe state should be purely passed through function inputs and outputslemmy.worldimagemessage-square112fedilinkarrow-up1913arrow-down15cross-posted to: [email protected]
arrow-up1908arrow-down1imageThe state should be purely passed through function inputs and outputslemmy.worldmerari42@lemmy.world to Programmer Humor@programming.dev · 3 days agomessage-square112fedilinkcross-posted to: [email protected]
minus-squaremarcos@lemmy.worldlinkfedilinkarrow-up6arrow-down1·3 days 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.