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

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Tue Dec 20 14:12:53 PST 2016


On 12/20/2016 05:08 PM, Andrei Alexandrescu wrote:
> On 12/20/2016 03:46 AM, Joakim wrote:
>> I didn't just say "eh:" I gave evidence for why I think the problem is
>> minimal and asked why it's so important to scope those last 3-4 imported
>> modules too, which you didn't answer.
>
> You have asked for a smoking gun, and one has been found.
>
> I have just uploaded a major update that carefully analyzes the
> improvements brought about by switching to local imports in the D
> Standard Library. Please refer to the section "Workaround: Are Local
> Imports Good Enough?" and Appendix A:
>
> https://github.com/dlang/DIPs/pull/51/files
>
> https://github.com/dlang/DIPs/blob/91baecedcfe7cb75ac22e66478722ec797ebb901/DIPs/DIP1005.md

I've also added a supporting script that creates the table in Appendix 
A: 
https://github.com/andralex/DIPs/blob/9e9ebc8738ce04b2d85a92feafacc7ef81e59811/DIPs/DIP1005-countlines.zsh 
-- Andrei


More information about the Digitalmars-d mailing list