[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Trailing commas in argument & parameter lists patch
- From: Javier Guerra Giraldez <javier@...>
- Date: Tue, 28 Feb 2023 21:31:37 +0000
On Tue, 28 Feb 2023 at 20:40, Lars Müller <appgurulars@gmx.de> wrote:
>
> which would benefit from a trailing comma (which should also be added for consistency with the trailing comma in arglists):
>
> function f(
> a, -- a comment for a
> b, -- a comment for b
> )
> ...
> end
what about:
function f(
a, -- a comment for a
b, -- a comment for b
nil)
(i'll be the first to accept that it looks weird)
--
Javier