Avoid idempotent operations - they are have no effect. Example :
int x = 2;
x = x;