Thoughts on replacement languages (Reddit + D)

John Colvin via Digitalmars-d digitalmars-d at puremagic.com
Mon Jan 12 11:12:18 PST 2015


On Monday, 12 January 2015 at 19:01:06 UTC, Dicebot wrote:
> On Monday, 12 January 2015 at 18:55:49 UTC, John Colvin wrote:
>> The import example misses that in D you can just do:
>>
>> import mod1 = my.long.mod1;
>> import mod2 = my.long.mod2;
>
> I was originally intending to mention how this is possible but 
> not pushed by language/compiler as the standard import approach 
> and thus effectively ignored. But it is the longest part 
> already. Do you thing it is important?

I think so. It might not be compiler-enforced but it's both 
possible and I would recommend people doing it.


More information about the Digitalmars-d mailing list