|
|
|
|
|
by 37ef_ced3
1982 days ago
|
|
Read the Go standard library, especially the parts written by Russ Cox. The parts written by Griesemer are less pleasant, no offense to him But some of Go's language decisions only become clear once you've written a lot of Go For example, the "var name = expr" declaration form seems unnecessary in light of the short ":=" form but it is in the language to allow indented declaration blocks like this (where some variables get an initial value and some get just a type): var (
text []byte
last int
more = true
)
...
I've been using Go for 3 years and the more Go I write, the more I appreciate it. Enjoy |
|