Drew@sopuli.xyzM to ProgrammingCircleJerk · 19 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-square8fedilinkarrow-up18arrow-down12
arrow-up16arrow-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 · 19 hours agomessage-square8fedilink
minus-squarebitcrafterlinkfedilinkarrow-up1·4 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.