Look out for:
Postfix operators have a way of creating insidious bugs. They seduce us with their expressiveness, and simplicity. They work so seamlessly when used in for loops, but can be easily misused. Two core mistakes I notice are:
- Unexpected side-effect: You want the next number, but you didn't actually mean for the original number to be mutated.
- Need the value immediately: You expected the value immediately, not after the operation.