1.20+ has just been straight fire, I’ve just started in GO, When I began my learning I though needing JavaScript was a necessity now it’s getting more and more to the point I can deliver in just GO
As someone with years of Go experience, this thing bites me or my team in the ass at least once every six months. Sometimes tests catch it, other times the tests get written after the fact and made to fit the implementation. Hilarious bug hunts ensue. I’m happy for this proposal moving forward.
Never is a very long time. I Hope they can maintain that promise because having to write lots of code everytime there is a major upgrade is so costly. I agree with @mrkite, I wish Angular had the same idea and even Vue.
The backwards compatibility promises of Go definitely makes upgrading a breeze. Java is pretty much in the same boat (except it maintains bytecode compatibility instead of source). When working with languages that don’t offer these promises it’s always a nightmare to upgrade to newer versions.
I must be grumpy because when I saw the blog post I thought it was kind of dumb when git clone gives you all you need and is universal. It felt a bit like a needless solution.
That being said, integration into gopls and IDE: yes please and thank you. 👍
Interesting. I’ve never personally had too many issues with startup. I actually thought Golang already had something like this built-in with ‘go mod init’. Looks like i was wrong…
Having boilerplate does help.
Cobra CLI is pretty great if you will only be using your binary on the cli.
go1.20.6 (released 2023-07-11) includes a security fix to the net/http package, as well as bug fixes to the compiler, cgo, the cover tool, the go command, the runtime, and the crypto/ecdsa, go/build, go/printer, net/mail, and text/template packages. See the Go 1.20.6 milestone on our issue tracker for details.
Not easily while avoiding the allocation hit of variadic arguments. But funny that, after all these years waiting on parametric polymorphism to be able to add a generalized min/max, it ends up as a built-in anyway.
go.dev
Hot