News for hackers. Stuff that matters.
Re:Go’s major versioning sucks – From a fanboy by oxplot on Saturday March 05, 2022 @04:53AM (#30566065)
> That only works if v2 of the library is crazy enough to keep all of the v1 apis around as well. Otherwise, when I switch version the old import path stops working.

Gradual upgrade, as in you can update a single file to use the next major version. Not sure what you’re on about.

> hundreds of files which needlessly got changed

If you have hundreds of files and upgrading to a new major version all at once, you’re creating the exact risk that Go is trying to mitigate.

There are no comments on this comment yet.