Go 1.27
go.dev
Go 1.27
1–10 of 277 posts
Re: Go 1.27
#2I'm so glad the new uuid package landed - it's overdue but a very welcome addition! I've already replaced github.com/google/uuid with `uuid` in several projects
Re: Go 1.27
#3[flagged]
Re: Go 1.27
#4This makes me want to find a side project for an excuse to give Go another try (I last used it professionally pre-generics).
I do still wish it had discriminated unions (algebraic data types) and some better error handling ergonomics.
Re: Go 1.27
#5I have been waiting for generic methods and can't wait to use them!
The `go fix` modernisers are also great, have already run them in several repos.
Re: Go 1.27
#6FYI golangci-lint and gopls are both broken if you try using generic methods.
Re: Go 1.27
#7[flagged]
Being on the HN's homepage isn't as simple as "most upvoted articles in last X hours". They take into account upvote velocity: 40 upvotes in 40 minutes isn't the same as 40 upvotes in 4 yours.
Re: Go 1.27
#8Nice additions to go.
I like to imagine that one day we'll have a language that launched with all the features languages eventually add. The whole ecosystem of packages would be built on them instead of a legacy of more primitive language feature sets.
Re: Go 1.27
#9[flagged]
Would you rather have yet another LLM-generated slop article in its place instead of an article covering a major release for a widely-used language? Out of all the articles that reach the HN front page, this is the one you have a problem with?
Re: Go 1.27
#10[flagged]
Being on the HN's homepage isn't as simple as "most upvoted articles in last X hours". They take into account upvote velocity: 40 upvotes in 40 minutes isn't the same as 40 upvotes in 4 yours.
no, it wasnt 40 upvotes in 40 minutes, it was at 8 upvotes after 34 minutes posted