[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Proposal: Trailing comma in function calls
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Wed, 4 Jun 2014 13:15:35 -0300
> However, I never understood, why trailing commas are not allowed in
> function calls.
One argument for not supporting this is that argument lists are almost never
generated automatically, which was the original motivation for supporting
trailing commas in table constructors, as this simplifies code generation.
Another is that argument lists in practice are never very long.