[1,2] is a valid expression while [1,2,] is not.
I think it would be helpful to support trailing commas. In query maintenance,
elements could always be added or removed by editing one line (add or remove
the line). Also, query generator code would not need a special case for the
last element.
Many widespread languages support trailing commas in arrays (e.g. C++, Java,
C#). That said, many languages don't (e.g. SQL).
Original issue reported on code.google.com by euf...@gmail.com on 26 May 2014 at 6:44
Original issue reported on code.google.com by
euf...@gmail.com
on 26 May 2014 at 6:44