Tango quibbles - please write tickets so we can track them
kris
foo at bar.com
Sun Sep 16 06:29:51 PDT 2007
Matti Niemenmaa wrote:
> kris wrote:
>> Matti Niemenmaa wrote:
>>> There's still some stuff I don't quite get, though. For instance, IConduit
>>> and IBuffer: everything seems to inherit from Conduit or Buffer, so why
>>> have the basic interfaces? Expanding on the reasons behind the whole design
>>> (and the terminology) might be a good idea.
>> Tango often uses interfaces to decouple implementation: you can operate via
>> an interface (handed to you as an argument) without importing any concrete
>> implementation. In a library of any size, this really helps to avoid tight-
>> or cross-coupling.
>>
>> It means, for example, that other (more traditional) interfaces can rely on
>> remaining 'pure', in that they only ever import other interfaces and not some
>> specific implementation code.
>
> Great, now go and put that in the manual! (Unless it's already there somewhere
> and I missed it.)
Hey, it's a Wiki ... *you* can add it too! :-D
More information about the Digitalmars-d
mailing list