2 ms·
>> Bug fixes are tricky too. If they're semantically observable people probably depend on the current behaviour. Hyrum's Law (https://www.hyrumslaw.com/ https:
by thesuperbigfrog 3y ago
>> Bug fixes are tricky too. If they're semantically observable people probably depend on the current behaviour.
Hyrum's Law (https://www.hyrumslaw.com/ https://www.hyrumslaw.com/) definitely does come into play, but bugs do need to be fixed. Good communication is essential so that library users can adapt. In extreme cases, jarring fixes can turn into new APIs.
>> Languages vary in how well they handle this. Python and C++ are the usual mistakes are forever example. Perhaps rust or c# have a better strategy.
Rust's Editions (https://doc.rust-lang.org/edition-guide/editions/ https://doc.rust-lang.org/edition-guide/editions/) offer a nice way to gently break backward compatibility in order to keep everything progressing.