Drew@sopuli.xyzM to ProgrammingCircleJerk@programming.dev · 23 hours agoIt makes the code icky and hard to debug, and you can simply return new immutable objects for every state change.lemmy.worldexternal-linkmessage-square9fedilinkarrow-up19arrow-down12
arrow-up17arrow-down1external-linkIt makes the code icky and hard to debug, and you can simply return new immutable objects for every state change.lemmy.worldDrew@sopuli.xyzM to ProgrammingCircleJerk@programming.dev · 23 hours agomessage-square9fedilink
minus-squarebitcrafter@programming.devlinkfedilinkarrow-up1·7 hours agoA lot of these operators are things like += and -=, though, which should not be too hard to remember if you are familiar with C-flavored languages.
A lot of these operators are things like
+=
and-=
, though, which should not be too hard to remember if you are familiar with C-flavored languages.