Named arguments
bauss
jj_1337 at live.dk
Wed Oct 25 13:56:51 UTC 2017
On Wednesday, 25 October 2017 at 06:48:26 UTC, Jonathan M Davis
wrote:
> On Wednesday, October 25, 2017 06:23:52 bauss via Digitalmars-d
> wrote:
>> [...]
>
> The issue I'm talking about is that if we had named arguments,
> and the names of the parameters in .di and .d files didn't
> match, and named arguments were used, then changing whether the
> .di file or .d file were used would break code. e.g.
>
> [...]
If you change function definitions you should provide fall-backs
IMO and then deprecate the old function definition. Of course
that's a world full of rainbows and unicorns, where people
actually care about such things.
More information about the Digitalmars-d
mailing list