Live data from Hacker News

Just Use Go

blainsmith.com

1–10 of 238 posts

Re: Just Use Go

#5
I often think of go as a "better" python. As in, easy to learn and easy to use. But also performant and the module system and package manager seem to be a little neater. (sorry for flamebait)

But I wonder how well it can cover similar use cases? Go is great for devops and web backends. But what about AI and data science?

Re: Just Use Go

#6
> The boring choice is the right choice. It always was.

Right, absolutely correct, Java is a great choice, so why does this post keep going on about Go?

Re: Just Use Go

#7
With agentic coding you can just use Rust. AI agents are really good at Rust and the good error message the compiler and or borrow checker gives makes it easy for the AI agent to adjust its code and fix it.

For non agentic coding Go has terrible error handling. It does not have exceptions or monadic error handling. Some call that a feature but many avoid Go or that specific reason. This will not change because that debate has been settled so if you can live with if err != nil after each function call (almost) then you are fine.

Things that is beautiful with Go are: * Its simplicity * Superb cross compilation support and excellent support for many different OS/arch combos. Not sure if anything comes close to this level of easy way of compiling to Many targets and target support.

Re: Just Use Go

#8
Go is fine for simple applications especially backend ones that connect to the internet. I do prefer it to node/js/ts/etc.

I do think a lot of projects would be better served having been written in go instead of java, or whatever else.

I don't think it's a panacea for anything. It's pretty easy to shoot yourself in the foot with. The easy stuff is easy the hard stuff is really hard.

I like rust a little more, and I don't rewrite things with it. I choose it first. That's my preference but go ahead and gopher on.

Re: Just Use Go

#10
I read this, as my computer crashed while compiling a 1000 dependency CRUD rust app, for the fourth time today. Then I take a deep breath.
Post reply on HN