On Sun, 23 Feb 2014 08:26:10 -0500, Frustrated <c1514...@drdrb.com> wrote:
It has nothing to do with being dynamically typed. We can't solve
this problem until you get your head out of the gutter(the gutter
being how D does things already. Can't make progress on something
if you ever look beyond what it can do).
You have a nasty habit of assuming people do not know as much as you.
Bottom line, I get what you are asking, always have. It could be done, but
D won't do it for you, nor will it be modified to do that. The costs of
additional runtime type checks are far too great to implicitly add them.
Use mixin generation, and be done with it.
-Steve