Live data from Hacker News

I want off Mr. Golang’s Wild Ride (2020)

fasterthanli.me

11–20 of 477 posts

Re: I want off Mr. Golang’s Wild Ride (2020)

#11
I've been using go for a personal project for a few months now and it didn't take very long for me to run into the: > It is a minefield of subtle gotchas that have very real implications

The generics problem isn't solved with the introduction of generics either. What they have introduced feels limiting in ways that will solve none of the problems that I have had to deal with by using large amounts of code replication to avoid having to use reflection.

I like go because it provides a good WebServer STL, besides that, for my next web project I'm going back to using C++ or Erlang.

Re: I want off Mr. Golang’s Wild Ride (2020)

#12

* * *

I don't think this article intends to give a full appraisal of Go. It highlights the downsides of a particular philosophical stance Go takes.

That stance is very much real, even if it's best described by gesturing at half a dozen examples. And it's nothing new, really. It's just Worse is Better all over again. I think it's instructive to see how it plays out in Go.

This rant is one-sided, but it doesn't pretend to be otherwise.

Re: I want off Mr. Golang’s Wild Ride (2020)

#14

* * *

I don’t think this rant is toxic - there’s no personal attacks or rude words of any sort, and the tone is lighthearted - but it is all criticism. Maybe that’s enough to qualify it as toxic.

However, the author has real Go bonafides, he wrote many of these libraries: https://github.com/itchio?q=&type=all&language=go&sort=

I presume working on the above software burned some deep scars. Their switch from Go to Rust is motivated by this kind of issue.

(To be honest, I also stopped writing Go for fun because these kinds of paper cuts build up. I enjoy Go when writing stuff in its sweet spot - dealing mostly with network bytes in a server environment of my choosing. For me, venturing too far out of that domain is joyless, but not exactly painful.)

Re: I want off Mr. Golang’s Wild Ride (2020)

#15
post #8
post #5

Earlier quoted context omitted.

Not a "Go guy" but I try to keep up on the news. They've since added generics and cleaned up some of this since 2020 yeah?

This submission came up because the article author is on twitter today complaining about golang and posted the submission link.

So they wanted out in 2020 and they’re still on in 2022. So either the language isn’t really that bad or they have an attention deficit?

Re: I want off Mr. Golang’s Wild Ride (2020)

#17
Everything is a question of tradeoffs. I have to deal with cross-platform Go code on a small project at work. The requirements are modest and the Windows file system code is mostly for developer testing. The production system is Linux. Yes, it's sometimes not pretty and Go was clearly designed for Posix style file systems. We chose Go is that it is fairly high level, it gets the job done, and we don't have to worry about what's in the runtime on the box (e.g. library or package dependencies). It suits our needs. The other options we have (e.g. statically compiled, native C/C++, Rust, or more weirdos like Ada) just aren't as fit for the job. I also ran into the same problems using Afero for unit testing. Moral of the story - pick the right tool for the job or abstract it out a layer and make it fit better.

Re: I want off Mr. Golang’s Wild Ride (2020)

#20
post #4

> It is a minefield of subtle gotchas that have very real implications Perfectly describes my 10+ years with the Node ecosystem. Not that it's a bad thing necessarily. I've made it my niche and the knowledge I've accumulated has made for a great career. But still, I understand the narrative.

Could you share a few of them?
Post reply on HN