Re:Backward Compatibility, Go 1.21, and Go 2
by jen20 on Monday August 14, 2023 @09:52PM
(#37129210)
This is a the TL;DR I wish was the first paragraph of the article!
Could this mechanism be used to patch up unfortunate evolutions in the standard library also? For example, all of the `WithContext` functions that could be folded into the (more common?) non-contextful versions?
What we're not going to do is abandon all the code written for older versions of Go, like Python 3 or Perl 6 did. Python is recovering now but it easily lost a decade to the Python 2 -> Python 3 transition, almost certainly unnecessarily. And Perl lost even more.