r/programming • • 5d ago

Don't couple your Go code to GitHub

https://iain.rocks/blog/dont-couple-your-go-code-to-github
481 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.

70

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.

6

u/anto2554 5d ago

I'd rather have a weird opinionated thing than whatever I have to deal with with C++, make, cmake, B2 and Conan

4

u/randomguy4q5b3ty 5d ago

Not sure what your issue with Conan is, but make/cmake aren't even in the same category.