You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the moment we only have a syntactic prefix increment and decrement operator ++ and -- which acts like a postfix operator.
Think on whether we also want the postfix one and if yes then properly implement the different behaviour in the backend too.
Remember that the rule is:
Postfix operator evaluates the value of the expression prior to incrementing or decrementing
Prefix operator evaluates the value of the expression after incrementing or decrementing.
At the moment in the backend we simply increment or decrement one to the expression's value after it has been evaluated.
The text was updated successfully, but these errors were encountered:
At the moment we only have a syntactic prefix increment and decrement operator
++
and--
which acts like a postfix operator.Think on whether we also want the postfix one and if yes then properly implement the different behaviour in the backend too.
Remember that the rule is:
At the moment in the backend we simply increment or decrement one to the expression's value after it has been evaluated.
The text was updated successfully, but these errors were encountered: