praise: optional comma at the end of argument list is a life saver for generated code

Dominikus Dittes Scherkl dominikus at scherkl.de
Mon Sep 14 06:58:02 UTC 2020


On Sunday, 13 September 2020 at 19:28:05 UTC, Ali Çehreli wrote:
> I wish it had an additional feature where we could say "use 
> this delimiter before the last one" so we could inject e.g. and 
> "and":
>
> 1, 2, and 3
>
> As far as I know, it doesn't exist.
And it would still not be sufficient, as e.g. German would need 
to remove also the comma before the and: "1, 2, 3 und 4"


More information about the Digitalmars-d mailing list