DIP10005: Dependency-Carrying Declarations is now available for community feedback

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Fri Dec 16 14:04:10 PST 2016


On 12/16/2016 01:24 PM, Jon Degenhardt wrote:
> On Friday, 16 December 2016 at 17:19:56 UTC, Andrei Alexandrescu wrote:
>> Walter and I wanted to have a positive example of a good DIP that is
>> relatively simple, is noncontroversial, and marks a definite move
>> forward.
>>
>> We believe the feature's benefits are significant, obvious, and
>> immediate. With this feature, any large project would be able to
>> radically clarify and improve its dependency structure with only
>> little refactoring work. I interpret the negative feedback as failings
>> of the DIP to explain and argue matters appropriately, so I'm working
>> hard on improving it. Please keep feedback coming.
>
> A suggestion: Now that the proposal details are largely fleshed out,
> take a file from phobos and rewrite it in the new style. Should give
> insight into aesthetics and identify remaining issues to resolve.

I also submit this as evidence:

https://github.com/dlang/phobos/pull/4963

This was a successful attempt to convert all imports to selective 
imports in std.array. It was a very difficult process that took a long 
time, as shown in the comment.


Andrei




More information about the Digitalmars-d mailing list