Remus

Namespace rswhite4 at googlemail.com
Wed Oct 10 09:44:43 PDT 2012


On Wednesday, 10 October 2012 at 15:19:22 UTC, David wrote:
> Am 10.10.2012 07:32, schrieb Namespace:
>> And you ask for what namespaces are usefull? Aren't you miss 
>> them? I do,
>> and so I implement them. You can already write "namespaces" in 
>> D, but
>> you must use a (mixin) template (so you have these ugly 
>> parents) and for
>> using you have to write: alias tpl_nspace!().print print or 
>> directly:
>> tpl_nspace!().print. And that's ugly (because of '!()') and 
>> annoying IMO.
>
> No, I really don't miss namespaces and if I really needed one, 
> I would use a struct.

Each to their own. ;) And: you can use Remus without using 
namespaces. So if you don't like one piece of Remus, don't use 
it. ;)


More information about the Digitalmars-d-announce mailing list