Live data from Hacker News

Go 1.27

go.dev

251–260 of 277 posts

Re: Go 1.27

#251

This 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.

I think you're gonna like it a lot more now. The language has gained a lot of nice things since they added generics

Re: Go 1.27

#252
post #77

Used to code primarily in Java. Now my app stack is about 80% Go. I love that it enables lightweight application development. Glad to see the platform evolving with a focus on resource efficiency.

Same. Go feels like the language that does everything I like about Java with a lot more control than Java gives

Re: Go 1.27

#253
post #5

I 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.

I'm a big fan of `go fix`, such a nice thing for big projects

Re: Go 1.27

#255

Quarterly reminder that Go still exists.

I can imagine using it for simple web stuff. E.g. its perfect for something like Forgejo. But yeah... Seems like the world has moved on mostly.

In the network and web backend world, we haven't moved on, and for good reason

Re: Go 1.27

#256
post #95

does it have goroutine termination, i recently found out you need a runtime patch for it

You can't terminate goroutines like individual threads, but there's no good reason to anyway. They designed the context system to be able to signal across goroutines and do cleanup that way

Re: Go 1.27

#257

I really want to like Go, but I can't stand looking at Go code. The error handling is such a turn off.

Some languages do it better, but it's really not a problem. It's just verbose, but people say that about Java and that never stopped it from being used everywhere

Re: Go 1.27

#258

As I've always said: every non-functional programming language, as it matures, it's adoption rises in enterprise, eventually starts to become more and more like Java in terms of it's syntax and feature-set.

I know this is supposed to be a negative comment, but I don't think this is a bad thing

Re: Go 1.27

#259
post #8

Nice 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.

No thanks. Reduced feature-set is the appeal.

Re: Go 1.27

#260

Quarterly reminder that Go still exists.

I can imagine using it for simple web stuff. E.g. its perfect for something like Forgejo. But yeah... Seems like the world has moved on mostly.

That comment is a good reminder that a good chunk of people commenting on HN are completely out of touch with the real world, the actual popular ecosystems out there, and what companies actually do and use nowadays to ship.
Post reply on HN