I didn't realize just how often I have to do stuff like this:
MyVariable = MyVariable + 1
Can we add the other operators so we can save a little bit of writing?
I keep writing it this way, then re-writing it to the style above. I guess it's just been hammered into my head when trying to keep code tiny.
MyVariable += 1 (adds to itself)
or
MyVariable -= 1 (subtracts from itself)
MyVariable = MyVariable + 1
Can we add the other operators so we can save a little bit of writing?
MyVariable += 1 (adds to itself)
or
MyVariable -= 1 (subtracts from itself)