News for hackers. Stuff that matters.
Re:Go Replaces Interface{} with 'Any' by ithkuil on Wednesday December 15, 2021 @03:18AM (#29563279)
There is even a name for that https://www.hyrumslaw.com/

The solution clearly can't be to never ever fix bugs though.

But depending on the kind of bugs (especially when they are of the "gotcha"/"UX" kind) often it's better to just create a new API version with the corrected behaviour and keep existing software apply handle the old behaviour the best they could.

But clearly for many many other kinds of bugs (security etc) we are better served with a bug fix in the old API even if that implies a possibility for breaking somebody.

Re:Go Replaces Interface{} with 'Any' by dragonwriter on Wednesday December 15, 2021 @11:51AM (#29568449)
Heck, for some bugs its better just to update the public contract to match the bug.