3 ms·
Changing the underlying implementation is not changing the API contract. The API makes no guarantees about where your arguments are shipped off to nor where the
by delinka 14y ago
Changing the underlying implementation is not changing the API contract. The API makes no guarantees about where your arguments are shipped off to nor where the return value came from. It simply says "you give me X, Y, Z and I'll return you M" and that's it. This is the very reason for specified APIs: the underlying implementation changes (for caching, efficiency, new storage models, etc) and external code goes on its merry way doing what it did before-- running.