tbl = { "1", "2", "3", } acceptable, Bug or not?
Posted: Wed Jan 21, 2026 4:37 pm
Here is an example:
Point here being that after "3" there is still one comma "," and this works fine, but should it?
Personally I think it is excellent it does work this way, since quite often I notice I tend to accidentally leave the last comma there, and which in addition happens to be useful when i decide to add one more thing to the last place in case items are in different lines.
But, should I actually keep an eye more carefully in these and remove the extra commas, or is this going to be fine in the future too?
Code: Select all
tbl = { "1", "2", "3", }Personally I think it is excellent it does work this way, since quite often I notice I tend to accidentally leave the last comma there, and which in addition happens to be useful when i decide to add one more thing to the last place in case items are in different lines.
But, should I actually keep an eye more carefully in these and remove the extra commas, or is this going to be fine in the future too?