On Monday, 26 February 2018 at 14:42:58 UTC, Adam D. Ruppe wrote:
On Monday, 26 February 2018 at 14:38:22 UTC, ParticlePeter
wrote:
This cool, I didn't know that we can name mixins when
instantiating but also never taught that there could be any
purpose for naming. Works, thanks.
oh yes, there's a lot of cool things with mixin. You might want
to skim my tip of the week index:
http://arsdnet.net/this-week-in-d/totw-index.html and see if
more jump out at you.
template mixins have behavior that look stupid until you
understand why - then it gets pretty nice. Like the naming and
overloading rules allow selective overriding and integration
once you know how.
Ok and that is an awesome link as well, I wished having this on
several occasions. By the way, I also remembered reading your tip
already once ... yeah, while reading it again. Anyway, thanks.