I am not a programmer, but when I needed to code something back in the days, we just used ctrl-n (iirc) in vim to recall already written variable names. So I ended up using always the same name, once it was defined.
I think every IDE has some similar auto-complemtation nowadays?
x1 to xn in code just looks like straight out of the dis-assembler if you ask me.