DIP61: Add namespaces to D

Dicebot via Digitalmars-d digitalmars-d at puremagic.com
Sat Apr 26 15:43:41 PDT 2014


On Saturday, 26 April 2014 at 21:57:55 UTC, Timon Gehr wrote:
> On 04/26/2014 09:27 PM, Daniel Murphy wrote:
>>
>> We already have a feature to manage conflicts and organisation 
>> in D code - modules!
>
> Named mixin templates are a much closer fit.

Using named mixin templates for pure scope resolution is side 
effect and should be discouraged in any reasonable code. There 
are specific D tools designed for that from the very beginning 
and we should use and/or fix those.


More information about the Digitalmars-d mailing list