←back to thread

Go is still not good

(blog.habets.se)
644 points ustad | 1 comments | | HN request time: 0s | source
Show context
figmert ◴[] No.44983166[source]
Has Go become the new PHP? Every now and then I see an article complaining about Go's shortcomings.
replies(6): >>44983193 #>>44983234 #>>44983422 #>>44983440 #>>44983954 #>>44985162 #
giancarlostoro ◴[] No.44983193[source]
No, this has been the case as long as Go has been around, then you look and its some C or C++ developer with specific needs, thats okay, its not for everyone.
replies(2): >>44983220 #>>44983390 #
jact ◴[] No.44983390[source]
I think with C or C++ devs, those who live in glass houses shouldn’t throw stones.

I would criticize Go from the point of view of more modern languages that have powerful type systems like the ML family, Erlang/Elixir or even the up and coming Gleam. These languages succeed in providing powerful primitives and models for creating good, encapsulating abstractions. ML languages can help one entirely avoid certain errors and understand exactly where a change to code affects other parts of the code — while languages like Erlang provided interesting patterns for handling runtime errors without extensive boilerplate like Go.

It’s a language that hobbles developers under the aegis of “simplicity.” Certainly, there are languages like Python which give too much freedom — and those that are too complex like Rust IMO, but Go is at best a step sideways from such languages. If people have fun or get mileage out of it, that’s fine, but we cannot pretend that it’s really this great tool.

replies(2): >>44983481 #>>44984446 #
giancarlostoro ◴[] No.44984446[source]
My biggest nitpick against Go was, is and still is the package management. Rust did it so nice and NuGet (C#/.NET) got it so right that Microsoft added it as a built-in thing for Visual Studio, it was originally a plugin and not from Microsoft whatsoever, now they fully own it which is fine, and it just works.

Cargo is amazing, and you can do amazing things with it, I wish Go would invest in this area more.

Also funny you mention Python, a LOT of Go devs are former Python devs, especially in the early days.

replies(1): >>44986011 #
badc0ffee ◴[] No.44986011[source]
Which part of the package management/modules system do you find lacking?
replies(1): >>44987033 #
1. aatd86 ◴[] No.44987033{3}[source]
Curious too because I find it mostly great.