Pseudo namespaces

ZombineDev via Digitalmars-d digitalmars-d at puremagic.com
Fri Dec 4 00:21:03 PST 2015


On Friday, 4 December 2015 at 07:12:50 UTC, Jacob Carlborg wrote:
> On 2015-12-03 22:02, Dicebot wrote:
>> And for that specific "stable" example - just make it a 
>> separate module,
>> problem solved. To make use of module system for symbol 
>> resolution one
>> needs to have many small modules, _that_ should become D idiom.
>
> I agree. I will just be difficult to convince the core 
> developers of that.

The idea is about scoping of member functions. There's no way you 
can achieve this with modules, unless you're thinking of ruby 
modules and not D modules.


More information about the Digitalmars-d mailing list