Named parameters in function call

Andre Pany andre at s-e-a-p.de
Tue Sep 8 09:40:11 UTC 2020


On Tuesday, 8 September 2020 at 07:43:05 UTC, Cecil Ward wrote:
> I can’t remember, do Ada or Modula2 have something like
>      myfunc( x => 100, y => 200, color => blue )        [1]
> which has named parameters that can be passed in any order.
>
> [...]

I hope we have it this year or next year, as we have this DIP
https://www.github.com/dlang/DIPs/tree/master/DIPs%2FDIP1030.md

Kind regards
Andre


More information about the Digitalmars-d-learn mailing list