This is a created article in which the information may have evolved or changed.
A comprehensive evaluation of Go language
- Syntax: type definition requires a lot of "eyeball parse"
- Syntax: Switch syntax in order to appear simple, the case and the cond are merged, resulting in confusion
- Tool chain: Also lacks, the tool is immature, has the bug, does not have the IDE to be usable
- Toolchain: The package is a bit confusing
- Memory Management: GC is a simple mark-and-sweep, also compared to the original
- No "generics".
- Multiple return value design does not have a compiler check mechanism, completely need the caller care, use trouble
- interface-based OO design is cumbersome to use.
- Goroutine is not a revolutionary thing, many needs can be added
- Defer is heavily abused at this stage
- The element of string in the library code is byte, which is used to iterate through the characters that need to be converted into words.
Wang Yin Summary: No python elegant, no Java powerful
This is the 2014, language expert Wang Yin wrote the commentary Golang's article,
Recently turned out to look at this article because recently planned to learn a bit golang.
At the same time, I also want to see, 3 years later, Golang now how.