Inheritance of mixin
Mathias Lang via Digitalmars-d
digitalmars-d at puremagic.com
Fri Apr 29 13:27:46 PDT 2016
2016-04-29 21:11 GMT+02:00 tsbockman via Digitalmars-d <
digitalmars-d at puremagic.com>:
> On Friday, 29 April 2016 at 10:59:20 UTC, Timon Gehr wrote:
>
>> On 29.04.2016 07:35, tsbockman wrote:
>>
>>> in the name of saving one line of code per class for a rare use case.
>>>
>>
>> The use case isn't rare (it is a quite popular request, at least four
>> independent instances that I remember).
>>
>
> Rare as in, "effecting only a very small amount of real world code" - not
> as in "effecting only a very small number of people".
>
Anyone wanting to implement double dispatch would benefit from it, for
starters. Like DMD.
As OP showed, there are others use cases which are legit. That's something
one usually expects from D, given the amount of boilerplate you can avoid
compared to other languages.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20160429/58bd0804/attachment.html>
More information about the Digitalmars-d
mailing list