It's not as simple as documentation. If you document the interface, you need to keep it somewhat stable and backwards compatible.
But if it is internal, then you control both ends of the API, and can change them in tandem.
It's not as simple as documentation. If you document the interface, you need to keep it somewhat stable and backwards compatible.
But if it is internal, then you control both ends of the API, and can change them in tandem.