|
|
|
|
|
by zaphodias
862 days ago
|
|
Usually the Go team scrapes from GitHub and open source programs how people use something before breaking them; I suspect they found little usage of { and } in HTTP handler paths. They also provide a way of opting out the new behaviour, so they don't force you to change anything in your code (but yes, it does require you to set a new env var). The change to the for loop semantic is another example in this release; it effectively is a breaking change. All Go programs continue to compile and run, though with minor behavioural changes. I think Go took a pragmatic approach, and that was one of the reasons for its success. |
|
If there were 10 breaking chances we should be at 11.x now, not at 1.x with 20 environment variables.