by dcow · 3y ago · 0 comments
I understand your argument for big things like changing the semantics of the language. But a backwards-incompatible change can also be rather benign.
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.
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?
C# has added some keywords (record, and, or) without breaking backwards compatibility.