Following are some of the bad practices related to variable assignments and should be ignored as they make code difficult to read and understand.

Java Code:
	int a;
        int b;
        int c;
        a = b = 10; 
        int d = (c = a + b) * 10 ;
Above code is perfectly OK but its confusing and it is not easy to read it. Above code is better readable if written like this:
Java Code:
	int a;
        int b;
        int c;
        a = 10;
        b = 10; 
        c = a + b;
        int d = c * 10 ;