DIP88 Named Parameters, Status?
Jonathan M Davis
newsgroup.d at jmdavisprog.com
Sat Sep 30 16:22:37 UTC 2017
On Saturday, September 30, 2017 16:10:44 Jonathan Marler via Digitalmars-d
wrote:
> https://wiki.dlang.org/DIP88
>
> I'd like to see DIP88 (Named Parameters) revived. Was this
> proposal rejected or is it just stale and needs a refresh? Named
> parameters can be implemented in a library, however, in my
> opinion they are useful enough to warrant a clean syntax with
> language support. I'd be willing to refresh the DIP so long as I
> know the idea has not already been rejected.
Effectively, all DIPs from that wiki that have not already been accepted are
dead, regardless of whether they stand any chance of acceptance. For any DIP
to be accepted, it will have to go through the new DIP process, which
essentially means creating a new DIP.
As for named parameters specifically, I'd be very surprised to see them
added to the language. From what I recall, Walter wasn't particularly fond
of the idea, and since it _is_ possible to implement them with a library
solution, it's exactly the sort of thing that Andrei is likely to veto. At
this point, in general, if something can be done in the language as it
stands, it's not likely for it to be accepted as a DIP. Now, that's dealt
with on a case by case basis, so I can't say for certain that a DIP for
named parameters would be rejected, but I would expect it to be.
- Jonathan M Davis
More information about the Digitalmars-d
mailing list