Could this post be unflagged please? I don't think it satisfies any requirement for flagging.
I want off Mr. Golang’s Wild Ride (2020)
41–50 of 477 posts
Re: I want off Mr. Golang’s Wild Ride (2020)
#42Go has a lot of issues. Some of them would be easily fixable if people promoting and developing Go actually admitted the problems. However, the fanbase usually acts as a cult pretending that issues are features. Thing is, just like broken, hackish dependency "management" had to be fixed (introducing tons of complexity for the sake of not destroying backward compatibility), other problems will have to be fixed as well…
What is bad about it?
Re: I want off Mr. Golang’s Wild Ride (2020)
#43Could this post be unflagged please? I don't think it satisfies any requirement for flagging.
Re: I want off Mr. Golang’s Wild Ride (2020)
#44Earlier quoted context omitted.
"Bubbling up" is the default in C++, when the code you call throws an exception and you don't have a try/catch for it.
Do C++ people actually call it "bubbling up"? I don't think I've used a language where this isn't the default behaviour so I'm not sure I've ever heard it given an actual name, it's just what happens when you don't catch the exception - it keeps going until someone does catch it, or it hits the runtime and demolishes your program.
Re: I want off Mr. Golang’s Wild Ride (2020)
#45I read the first page or so. I don't think I'm going to read it to the end, but it doesn't seem something that should be removed from the HN frontpage.
Re: I want off Mr. Golang’s Wild Ride (2020)
#46Go has a lot of issues. Some of them would be easily fixable if people promoting and developing Go actually admitted the problems. However, the fanbase usually acts as a cult pretending that issues are features. Thing is, just like broken, hackish dependency "management" had to be fixed (introducing tons of complexity for the sake of not destroying backward compatibility), other problems will have to be fixed as well…
Re: I want off Mr. Golang’s Wild Ride (2020)
#47Go has a lot of issues. Some of them would be easily fixable if people promoting and developing Go actually admitted the problems. However, the fanbase usually acts as a cult pretending that issues are features. Thing is, just like broken, hackish dependency "management" had to be fixed (introducing tons of complexity for the sake of not destroying backward compatibility), other problems will have to be fixed as well…
> For example, Go error handling is shit What is bad about it?
Re: I want off Mr. Golang’s Wild Ride (2020)
#48Re: I want off Mr. Golang’s Wild Ride (2020)
#49> 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.
The key is they're subtle. If a subtly-wrong design takes only 20% of the code of the truly-correct design to express and understand and it works for 99% of the cases, then there's actually a benefit to a lot of users of using that architecture. If you end up in the swamp outside the happy path you can get badly burned, but that's the thing... If most people never see the swamp, the language's simpler approach can win.
To take an example from the article: the author correctly notes that Go's filesystem library may not be as portable as one wants it to be across OS's, and that it doesn't handle paths as byte-strings. The former issue is one many people don't see because they get to operate on a Linux monoculture (Go's wheel-house was web servers, which are often running on Linux). And the handling of file paths as byte strings is irrelevant if other tools in the Linux ecosystem can't handle them correctly either, i.e. "If it doesn't `ls`, it's not a real filename" is a reasonable position to take on that problem.
It sounds like the author lands in the swamp a lot or has some significant anxiety about ending up in the swamp, and a developer in that situation may very well benefit from using a language and library ecosystem that is more technically correct more of the time.
Re: I want off Mr. Golang’s Wild Ride (2020)
#50See also Chapter 9 of: https://web.mit.edu/~simsong/www/ugh.pdf