Why is it bad practice to declare variables on one line?
e.g.
private String var1, var2, var3
instead of:
private
What about the case such as:
public static final int NORTH = 0,
EAST = 1,
SOUTH = 2,
WEST = 3;
Is that considered bad practice as well? I would consider that okay as it counters some of the points previously made:
So in an (albeit smelly code) example, is there reasons you wouldn't do that?