Tango quibbles - please write tickets so we can track them
Matti Niemenmaa
see_signature at for.real.address
Sun Sep 16 06:22:40 PDT 2007
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.)
--
E-mail address: matti.niemenmaa+news, domain is iki (DOT) fi
More information about the Digitalmars-d
mailing list