new DIP15: Import of packages

Gor Gyolchanyan gor.f.gyolchanyan at gmail.com
Tue Oct 18 07:50:08 PDT 2011


How do you imagine the process of importing a package without having a
dedicated "default" module for it?

On Tue, Oct 18, 2011 at 4:29 PM, Jacob Carlborg <doob at me.com> wrote:
> On 2011-10-18 13:40, Gor Gyolchanyan wrote:
>>
>> 1. Standardized and guaranteed to work in a similar manner every time.
>> 2. Less eye-trash in the code.
>> 3. Opportunity to improve semantics of importing a package without
>> needing to refactor lots of code.
>
> Ok, makes sense. Although, I would prefer if this "_.d" file wouldn't need
> to be created manually.
>
>> On Tue, Oct 18, 2011 at 3:27 PM, Jacob Carlborg<doob at me.com>  wrote:
>>>
>>> On 2011-10-18 09:38, Martin Nowak wrote:
>>>>
>>>> http://prowiki.org/wiki4d/wiki.cgi?LanguageDevel/DIPs/DIP15
>>>
>>> What's the advantage of this compared to importing the "_.d" file
>>> explicitly, i.e. "import pkg._;" ?
>>>
>>> --
>>> /Jacob Carlborg
>>>
>
>
> --
> /Jacob Carlborg
>


More information about the Digitalmars-d mailing list