Code: Select all
/c for _,i in pairs{0,0,0,0} do game.player.print(i); end
Is it really a reasonable behavior?0
It raises problems for debugging when quickly checking a number of different variables:
Code: Select all
a=1; b=1; c=2; d=1;
game.player.print(a);
game.player.print(b);
game.player.print(c);
game.player.print(d);
or1
2 <-which element is this?
1
Code: Select all
a=1; b=1;
game.player.print(a);
game.player.print(b);
a=a+b;
game.player.print(a);
game.player.print(b);
Such snippets are often temporarily placed in code just to check this or that (well, at least often placed by me), so typing any additional unique strings to identify what is that printed is not very handy. Positional identification on the other hand is cheap and quick way of achieving only slightly less degree of recognition of outputs.1
2
1