Versioning interfaces
Havoc Pennington
hp at redhat.com
Mon Nov 14 09:20:45 PST 2005
On Mon, 2005-11-14 at 12:54 +0000, Daniel P. Berrange wrote:
> b) Just tack a number onto the end of the interface name, getting
> something like 'org.example.Music.Player2', 'org.example.Music.Player3',
> etc, etc.
This is what most existing frameworks such as COM do fwiw. Another
convention is to put "X" in there, like "XPlayer" or "javax."
Java typically creates a new package with a new API for major changes,
e.g. io -> nio
> In
> reality many apps will choose c), even though it is truely evil.
Well, just because the Linux world seems to be kind of retarded about
this. Lots of pushback on ometer.com/parallel.html too, for "aesthetic"
reasons. I think the Java and Windows worlds both "get it" on this
front.
People are pretty sucky at bumping library sonames too... openssl,
libpng, etc. all historically screwed up. And libdbus for that
matter ;-) though we are pre-1.0.
Havoc
More information about the dbus
mailing list