3 ms·
I prefer Rich Hickey's definition of compatibility [1]: A function is compatible if it requires no more than it did, and provides no less than it did in the pr
by slowmovintarget 8y ago
I prefer Rich Hickey's definition of compatibility [1]:
A function is compatible if it requires no more than it did, and provides no less than it did in the previous version. A library is compatible if it provides no fewer functions, and requires no additional context (transitive dependencies) to use it, and all of its functions are compatible as defined.
When you wish to require more, or provide less, you make a function with a new name.
[1] As linked elsewhere: https://youtu.be/oyLBGkS5ICk?t=1189 https://youtu.be/oyLBGkS5ICk?t=1189