stable interfaces

Yesterday I wrote a db4file implementation for grace’s dbfile interface, using version 4.3 of Sleepycat’s db4 library.

Then my coworker tried it on 4.0, and it broke. Turns out the DB->open call got a bloody extra argument, for transaction support. Why the hell change a signature; what’s wrong with just creating a new function name. You can always pull it back together in 5.0…


No Responses to “stable interfaces”

Both comments and pings are currently closed.

Comments are closed.