5 ms·
I would say Go is a very unintuitive language. And not in an especially useful way. Honestly, it comes across as a language designed by someone only incidental
by xigency 11y ago
I would say Go is a very unintuitive language. And not in an especially useful way.
Honestly, it comes across as a language designed by someone only incidentally aware of programming. This isn't an argument, this is the first impression.
At the risk of sounding stupid, and not really having a say in the argument for or against Go, I will say I tried to learn how to program Go on my own by trying to "guess" how to write a program. (A time waster, I had seen code but mainly glossed over it.) The program I tried to write was "Hello, World" and the way I tried to guess was using the Go website's sandbox.
The result: https://play.golang.org/p/oc-cxnjJiI https://play.golang.org/p/oc-cxnjJiI (Best case: https://play.golang.org/p/NJpwhLUPA_ https://play.golang.org/p/NJpwhLUPA_)
I'm sure the same thing would happen trying to learn C++ from a compiler's cryptic error messages, but C++ is not Go.
One thing I dislike about Go is the culture or lack-there-of surrounding it. Especially in the canonical Hello World example, which chooses to use Japanese/Chinese language in an unnecessary way. A little presumptuous. Especially since it's used in a one-off sort of way with no explanation.
I also think it's interesting that it's the survivor of the Go and Dart launches, when I never saw the purpose of Go when it was launched, compared to a special set of libraries for C.