Proposed improvements to the separate compilation model
Dicebot
m.strashun at gmail.com
Tue Mar 5 12:52:36 PST 2013
On Tuesday, 5 March 2013 at 20:47:11 UTC, Rob T wrote:
> On Tuesday, 5 March 2013 at 20:40:41 UTC, Vladimir Panteleev
> wrote:
>>
>> Also, I don't think that we should consider that a class
>> declaration is the same thing as the class interface - for the
>> simple reason that a class declaration must also contain
>> private fields and methods. Having to recompile half of my
>> program just because of a signature change in a class's
>> private method makes no sense, and is the reason why hacks
>> like PImpl emerged.
>
> Yes I fully agree with that point. D should be adjusted to
> solve the problem since it makes working on large projects much
> more practical.
>
> --rt
That I agree for sure, too. That may be not that trivial, but it
is a big whole in abstraction model of C++-like languages.
More information about the Digitalmars-d
mailing list