
For further actions, you may consider blocking this person and/or reporting abuse
For further actions, you may consider blocking this person and/or reporting abuse
José Thomaz -
Samuel Collier -
bistcuite -
codemee -
Once suspended, programmerrush will not be able to comment or publish posts until their suspension is removed.
Once unsuspended, programmerrush will be able to comment and publish posts again.
Once unpublished, all posts by programmerrush will become hidden and only accessible to themselves.
If programmerrush is not suspended, they can still re-publish their posts from their dashboard.
Once unpublished, this post will become invisible to the public and only accessible to Programmer Rushikesh.
They can still re-publish the post if they are not suspended.
Thanks for keeping DEV Community safe. Here is what you can do to flag programmerrush:
Unflagging programmerrush will restore default visibility to their posts.
Top comments (4)
While it does have some educational value to show that this is possible, this method has two issues:
Both
a = a + b
anda = a - b
can cause an overflow.I can't imagine many situations where saving a few bytes really makes up for the loss in readability.
It also works with XOR (avoiding the overflow problem):
Agreed, this is definitely the way to do it.
reduced to one line:
a ^= b ^= a ^= b;