3 ms·
To paraphrase Rich Hickey: "Just use a different name." Compatibility of APIs is retained if you require less or provide more. Breaking changes happen when you
by slowmovintarget 7y ago
To paraphrase Rich Hickey: "Just use a different name."
Compatibility of APIs is retained if you require less or provide more. Breaking changes happen when you require more or provide less. Don't do it. Add a new and different function that requires more or provides less. Keep the old one. You now have a backward compatible interface.