Trailing comma in variable declaration

Ky-Anh Huynh saigon at example.net
Sun Jul 29 05:32:15 UTC 2018


Hi,

is it nice to have a trailing comma in variable declaration:

[code]
   bool
     verbose = false,
     download_only = false,
     no_confirm = false,
     show_help = false,
     show_version = false,
     list_ops = false,
     ;
[/code]

As trailing comma is possible (and it's great) for arrays, 
enum,... I wonder why we don't have this fancy thing for 
variables declaration.

Thanks for your reading.


More information about the Digitalmars-d mailing list