DIP 88: Simple form of named parameters

Gary Willoughby via Digitalmars-d digitalmars-d at puremagic.com
Sun Jan 24 03:20:20 PST 2016


On Saturday, 23 January 2016 at 14:19:03 UTC, Jacob Carlborg 
wrote:
> This is mostly to prevent ugly hacks like Flag [1].
>
> http://wiki.dlang.org/DIP88

"A new syntax is added to be used when declaring a function that 
should be callable with named parameters:"

Please, no more new syntax!

This can be done using templates and Flag is not an ugly hack!


More information about the Digitalmars-d mailing list