Re: The storage interface cleanup - incredible



Dietmar Maurer <dietmar maurer-it com> writes:

> Maciej Stachowiak wrote:
> 
> > In fact, the Stream interface is almost certainly going to change for
> > GNOME 2.0 anyway, if we follow the wise advise of the Sun people who
> > pointed out that factoring the interface into InputStream,
> > OutputStream and Seekable is a better way to go. So you can't even
> > pretend this particular change will prevent interface breakage down
> > the line.
> 
> I am not convinced that the purposed splitting is a better way to go.
> Anyway, the advantage is better interface reusability. We can reach
> this if we split the interface (like sun suggested) and combine the parts
> using multiple inheritance (which is supported by CORBA).
> This change will not break anything.

(Technical point, not a comment on the merits of Dietmar's changes)

Splitting and combining using multiple inheritance will not in fact
result in something that is binary and source compatible for all
languages, unless I massively misunderstand how CORBA mappings for
various languages work. It will definitely not be compatible on the
server side.

 - Maciej





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]