Low-overhead components

Kagamin spam at here.lot
Tue Jul 30 08:57:48 PDT 2013


On Sunday, 28 July 2013 at 21:03:43 UTC, Vladimir Panteleev wrote:
> Why? The difference is one indirection. Are you referring to 
> the impact of template bloat and code cache misses?

bloat

> Yes, but you still need to write it.

That's what we do.
You need to write it anyway to provide simple interface to load 
xml files, no matter whether you use mixins or nesting.

> With mixins, each layer is declared separately, and you can 
> access it directly.

Don't you fear namespace pollution? You probably don't want to 
call arbitrary methods on xmlParser and later try to figure out, 
what did you call exactly.


More information about the Digitalmars-d mailing list