Re:Go 1.17 is deprecating the traditional use of 'go get'
by marvinblum on Friday June 25, 2021 @10:49AM
(#27631471)
> IMHO such tooling should not be part of the language itself, and be left to the community.
I strongly disagree with this. "All batteries included" is one of Go's strongest points, especially if you look at gofmt, which set a standard for all code out there.
Re:Go 1.17 is deprecating the traditional use of 'go get'
by samcal on Friday June 25, 2021 @03:00PM
(#27634912)
Yeah, I heard this a lot about go. Agree that gofmt is a good call, but it’s not hard to get that one right. I’m seeing more and more of these “included batteries” being deprecated, it’s almost as if standard libraries don’t stay shiny and new forever ;)
Re:Go 1.17 is deprecating the traditional use of 'go get'
by mikepurvis on Friday June 25, 2021 @10:38AM
(#27631322)
Speaking from the perspective of someone with a fair bit of exposure to packaging and shipping software in the Python world, I don't thinking leaving these matters to "the community" results in a satisfactory outcome.
In more practical terms, I expect this tooling is provided and evolved as a first class affair because Google needs it internally to build their golang projects.
Re:Go 1.17 is deprecating the traditional use of 'go get'
by throwaway894345 on Friday June 25, 2021 @10:52AM
(#27631512)
See also C and C++.
Re:Go 1.17 is deprecating the traditional use of 'go get'
by cortesoft on Friday June 25, 2021 @10:46AM
(#27631432)
I disagree on the idea of leaving tooling up to the community. Having one set of tooling that everyone uses is a huge advantage. It really helps projects interoperate with other projects.
Re:Go 1.17 is deprecating the traditional use of 'go get'
by rob74 on Friday June 25, 2021 @10:54AM
(#27631537)
"go get" was originally not intended as dependency management, just as a convenient way of getting the latest version of some source code you need from GitHub or other hosters. Ok, when it gets that source code, it will also get its dependencies, but I don't think you can really call that dependency management? Later, it was updated to "play nice" with the "modules"-based dependency management, but that was not the original intention behind it.
But I still prefer to have the occasional churn when "the official way of doing things" changes to having x competing tools doing the same thing, which has the potential of generating even more churn.
Re:Go 1.17 is deprecating the traditional use of 'go get'
by mseepgood on Friday June 25, 2021 @11:07AM
(#27631719)
"go get" is dependency management. It adds a dependency (module) with a specific version to your project and pins it in the go.mod file.
Re:Go 1.17 is deprecating the traditional use of 'go get'
by rob74 on Friday June 25, 2021 @12:07PM
(#27632543)
Yeah, I noticed myself that my information was stuck in the "good old Go times" when things were still (too) simple, and updated my statement above...
On the other hand, deprecating a critical tool of infrastructure leaves a sour taste. Many people would be pissed of. Better not including it in the first place.
IMHO such tooling should not be part of the language itself, and be left to the community.