DIP 1020--Named Parameters--Community Review Round 2
12345swordy
alexanderheistermann at gmail.com
Wed Sep 11 16:19:35 UTC 2019
On Wednesday, 11 September 2019 at 16:00:13 UTC, rikki cattermole
wrote:
> On 12/09/2019 3:12 AM, 12345swordy wrote:
>> What good is named arguments if around 90% libraries don't
>> support it?
>
> I won't put a percentage on the number of libraries that will
> not support it. Over time the number should decrease as people
> get use to it and find ways to use it to suit their style.
That is an assertion, with no evidence. Your DIP needs to take
the account of libraries that are hardly updated. Why should the
user suffer when the libraries aren't updated or refused to
update their functions with named arguments even when it seems
very reasonable at the time to the user. You can't just suggest
that the user to fork every library out there in order to used
named arguments!
I repeat: This "public api" issue is overblown. This issue you
try to avoid still will still exist even you did make it opt-in.
I can't advocate this with a straight face in game development.
-Alex
More information about the Digitalmars-d
mailing list