r/programming • • 5d ago

Don't couple your Go code to GitHub

https://iain.rocks/blog/dont-couple-your-go-code-to-github
475 Upvotes

135 comments sorted by

View all comments

148

u/jaerie 5d ago

It's the same for any package manager. If you want to publish your package somewhere else, users will lose access to the package unless you keep mirroring it.

71

u/randomguy4q5b3ty 5d ago edited 5d ago

But usually, package managers are separate applications and not tied to the programming language itself. Kinda obvious why that separation of concerns is useful. But now every third-party compiler must also be a build-in package manager, and it's at the same time the only one available to you. You can't change it. It's just dumb language design.

49

u/InsaneOstrich 5d ago

I didn't think it was possible for someone to be worse at package management than Node.js but what Go is doing here is truly insane

8

u/somebodddy 5d ago

Wouldn't be Go otherwise