News for hackers. Stuff that matters.
Re:Go 1.17 is deprecating the traditional use of 'go get' by rightbyte on Friday June 25, 2021 @10:15AM (#27631026)
I am happy I changed job from DevOps so I don't have to deal with stuff like this breaking all the time for no good reason at all (on more computers than mine). Backwards compatibility is gold.
Re:Go 1.17 is deprecating the traditional use of 'go get' by slver on Friday June 25, 2021 @10:35AM (#27631294)
Platforms that are not willing to deprecate parts of themselves in order to spur innovation and keep complexity low, eventually get deprecated as a whole.

Look at Java, the king of BC, even they've started deprecating packages in the JDK for removal.

It's inevitable. Otherwise it's like a brain that can't forget even the most useless piece of information. About an organism that just eats, but can't expel the waste.

There's a way to do change slowly, gradually and reasonably, but change is inevitable. If you don't want small changes, big changes will come for you.

Re:Go 1.17 is deprecating the traditional use of 'go get' by superkuh on Friday June 25, 2021 @11:22AM (#27631923)
No one is arguing for no change. The problems here are the new single corporation languages from this past decade that behave like 6 months is a long time. It isn't. Every ~4 years is more the cadence of everything before.
Re:Go 1.17 is deprecating the traditional use of 'go get' by jodrellblank on Friday June 25, 2021 @01:07PM (#27633513)
HN person a few days ago: "It's pretty common that I have to deal with support issues that were fixed six months ago, but the client has never taken an update in all that time..." - https://news.ycombinator.com/item?id=27492147

I was surprised to see six months described as "never, in all that time".

Re:Go 1.17 is deprecating the traditional use of 'go get' by rightbyte on Friday June 25, 2021 @12:25PM (#27632860)
Ye I understand that, but from a DevOp or system admin perspective all these small things adds up. 6 months deprecation is way too short to first realize this is changing and then fix all the scripts - and most likely still keeping backwards compability with older Go versions in the scripts for projects stuck in older versions.

The remedy in practice is pinning versions by project or even worse org. wide to be able to concentrate on the actual problem being solved if things are breaking too much.

Re:Go 1.17 is deprecating the traditional use of 'go get' by icholy on Friday June 25, 2021 @03:31PM (#27635233)
No one is forcing you to update.
Re:Go 1.17 is deprecating the traditional use of 'go get' by cesarb on Friday June 25, 2021 @12:32PM (#27632999)
> Look at Java, the king of BC, even they've started deprecating packages in the JDK for removal.

There is a reason plenty of organizations are still on Java 8, which is the last major release before they started doing that...

Re:Go 1.17 is deprecating the traditional use of 'go get' by kaba0 on Friday June 25, 2021 @05:41PM (#27636613)
They have only removed packages that was quite literally not used by anyone after being deprecated for years (deprecation doesn’t break compatibility).

The reason 8 is preferred for many is due to a) not understanding the new model b) depend on a dependency that does some shady things with JVM internals it should have never done in the first place, this did get “sealed” by the module system. Most of these deps actually have already migrated to 8+, and even if not, access to internals can still be allowed with a command line flag.

Re:Go 1.17 is deprecating the traditional use of 'go get' by slver on Saturday June 26, 2021 @04:26AM (#27640163)
Java 8 is not when they started doing that
Re:Go 1.17 is deprecating the traditional use of 'go get' by laumars on Friday June 25, 2021 @10:22AM (#27631113)
‘go get’ is older than ‘pip’. The way Go packages are versioned and referenced has evolved massively since then. I get the need for backwards compatibility, I really do, but if you can’t modernise 11 year old tech then I think you’re on the road to much bigger problems.

Edit: correction, Pip is older than Go. But for those downvoting me, the dates were just an illustration and don’t really matter to the point I’m making. That point being: after 11 years it should be safe to update a legacy interface.

Re:Go 1.17 is deprecating the traditional use of 'go get' by abryzak on Friday June 25, 2021 @10:39AM (#27631329)
According to [1], version 0.2 of pip was released 2008-10-29. The 1.0 release which added Python 3 support was 2011-04-04 (which is what Wikipedia lists).

The earliest release I can find for Go at [2] is 2009-12-09, with 1.0 being released 2012-03-28.

[1] https://pypi.org/project/pip/#history

[2] https://golang.org/doc/devel/weekly

Re:Go 1.17 is deprecating the traditional use of 'go get' by jcelerier on Friday June 25, 2021 @10:33AM (#27631267)
pip is older than go lol
Re:Go 1.17 is deprecating the traditional use of 'go get' by laumars on Friday June 25, 2021 @10:39AM (#27631331)
Nope

> Initial release: 4 April 2011 (10 years ago)

Source: Wikipedia, pip (package manager).

Re:Go 1.17 is deprecating the traditional use of 'go get' by jcelerier on Friday June 25, 2021 @10:43AM (#27631377)
wikipedia is wrong

https://pypi.org/project/pip/0.2/

Released: Oct 28, 2008

Re:Go 1.17 is deprecating the traditional use of 'go get' by forgetfulness on Friday June 25, 2021 @10:41AM (#27631364)
It was a rebranding of the 2008 pyinstall as the same Wikipedia article states in the first section.

Like other things in Go, the antiquated feel is actually the pursuit of retro more than the product of age.

Re:Go 1.17 is deprecating the traditional use of 'go get' by laumars on Friday June 25, 2021 @10:45AM (#27631410)
> It was a rebranding of the 2008 pyinstall as the same Wikipedia article states in the first section.

Fair point. I’m on my phone so missed that section when scrolling through for the summary box.

> Like other things in Go, the antiquated feel is actually the pursuit of retro more than the product of age.

I’m really not sure the point you’re trying to make here but it feels like a baseless cheap shot rather than a constructive comment

Re:Go 1.17 is deprecating the traditional use of 'go get' by mfer on Friday June 25, 2021 @10:44AM (#27631395)
The new behavior could easily have been `go mod get`. There are many ways to design things to not break people. When it comes to the tools, the Go team isn't concerned with breaking people. Their docs even note that.
Re:Go 1.17 is deprecating the traditional use of 'go get' by laumars on Friday June 25, 2021 @10:52AM (#27631518)
You’re missing the point because ‘go mod get’ would cause the same deprecation notice. The complaint isn’t what the new command looks like, it’s that the old one is being deprecated.
Re:Go 1.17 is deprecating the traditional use of 'go get' by cryvate1284 on Friday June 25, 2021 @11:05AM (#27631695)
What's the relevance of it being older than `pip`?
Re:Go 1.17 is deprecating the traditional use of 'go get' by laumars on Friday June 25, 2021 @12:37PM (#27633092)
It’s just an illustration to help conceptualise the point. Like when people talk about larger distances using comparisons like “lengths of a football field”. The purpose was just demonstrating that the tooling in question is as old as many of the other common tooling used in other languages, rather than some recent thing that’s prone to frequent changes.
Re:Go 1.17 is deprecating the traditional use of 'go get' by laumars on Friday June 25, 2021 @03:14PM (#27635052)
Why is this being downvoted? It was literally just answering the asked question!