Is Anything Holding you back?

extrawurst via Digitalmars-d digitalmars-d at puremagic.com
Wed Oct 7 00:08:37 PDT 2015


On Monday, 5 October 2015 at 09:08:56 UTC, Jonas Drewsen wrote:
> On Monday, 5 October 2015 at 06:18:45 UTC, Manu wrote:
>> [...]
> [...]
>
> The first method is bad because you need to mixin code manually 
> for each module you have.
>
> The second method is bad because you need to keep the 
> "registration" file in sync with any modules 
> added/renamed/removed.
>
> [...]
>
> /Jonas

Method 1: Adding a static c'tor to every module does not work 
very long in practice (as experienced first handed) cause you are 
in "cyclic c'tor hell" very quick...

--Stephan


More information about the Digitalmars-d mailing list