merari42@lemmy.world to Programmer Humor@programming.dev · 6 个月前The state should be purely passed through function inputs and outputslemmy.worldimagemessage-square127linkfedilinkarrow-up1959arrow-down17
arrow-up1952arrow-down1imageThe state should be purely passed through function inputs and outputslemmy.worldmerari42@lemmy.world to Programmer Humor@programming.dev · 6 个月前message-square127linkfedilink
minus-squaremarcos@lemmy.worldlinkfedilinkarrow-up6arrow-down1·6 个月前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.
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.