September 09, 2013 Re: new DIP48: Interface specifications for aggregate types | ||||
---|---|---|---|---|
| ||||
On Sun, Sep 08, 2013 at 08:13:33PM +0200, Simen Kjaeraas wrote: > In response to Walter's DIP47 I have created my own take on what I see as the main problem: > > http://wiki.dlang.org/DIP48 [...] I don't see this as a fundamentally better or different solution than DIP47, which I already vote against. I believe the correct solution to this issue is auto-generation of interface from implementation. We should simply fix dmd's .di generation so that it is usable as a class-at-a-glance interface file. No language change is necessary. T -- You have to expect the unexpected. -- RL |
September 09, 2013 Re: new DIP48: Interface specifications for aggregate types | ||||
---|---|---|---|---|
| ||||
Posted in reply to H. S. Teoh | On Monday, 9 September 2013 at 01:04:16 UTC, H. S. Teoh wrote:
> On Sun, Sep 08, 2013 at 08:13:33PM +0200, Simen Kjaeraas wrote:
>> In response to Walter's DIP47 I have created my own take on what I
>> see as the main problem:
>>
>> http://wiki.dlang.org/DIP48
> [...]
>
> I don't see this as a fundamentally better or different solution than
> DIP47, which I already vote against.
>
> I believe the correct solution to this issue is auto-generation of
> interface from implementation. We should simply fix dmd's .di
> generation so that it is usable as a class-at-a-glance interface file.
> No language change is necessary.
>
>
> T
This is the best way.
|
Copyright © 1999-2021 by the D Language Foundation