3 ms·
Establish a customer / supplier relationship between teams that build libraries and those that consume those libraries to build applications. Treat the librarie
by nradov 18y ago
Establish a customer / supplier relationship between teams that build libraries and those that consume those libraries to build applications. Treat the libraries as separate internal products with a defined release schedule and version numbers. Require any library API changes which could break backward compatibility be delivered in a release with a new major version number, along with documentation.
It also helps to organize your source code repository so that every developer can check out all the code across your entire organization. Then when a library developer refactors something she can immediately see if any dependent code will no longer build or fails unit tests. Google does this, at least for the majority of their Java code. I saw a presentation from the Google Collections developers and they explained that working that way made it fairly easy to revise their API.