Go in Action (英语) 平装 – 2015年11月19日
Brian Ketelsen and Erik St. Martin are the organizers of GopherCon an annual conference for Go developers and coauthors of the Go-based Skynet framework. Both Brian and Eric work with Go daily in a high-stakes production setting. William Kennedy is a seasoned software developer, author of the blog GoingGo.Net, and organizer for the Go-Miami and Miami MongoDB meetups.
|5 星 (0%)|
|4 星 (0%)|
|3 星 (0%)|
|2 星 (0%)|
|1 星 (0%)|
Whereas Go has excellent official documentation, it can be very technical and not a little overwhelming when one is just starting out. This book builds an excellent foundation of understanding, nicely filing the void between simple on-line tutorials and the complexity of the official spec. Obviously there are details in the official documentation that go well beyond what is covered in this book, but if you want a head start in being able to understand those things when you have to look them up, then you can't go wrong reading about them in this book first.
There are several really good reasons to read it if one wants to learn Go:
It fills in the gaps while managing to explain things in clear and simple terms; if you find the official docs a little hard to read and wish someone would explain them to you, this book does that really well.
It shows (and explains) very idiomatic examples of written Go, and why they are written that way. If your code looks like the examples that you see in this book then you're doing it right.
It contains examples of *how* things are implemented that vastly help clarify why they would be done one way vs. another. Ever wonder "but why is it idiomatic to do it that way?" You can probably find the answer in this book.
The subjects flow well one from the next; each chapter introducing new material principally relays on basics already covered in order to explain it. This makes for a gradually improving understanding of Go in the language of Go.
A caveat or two:
This is not a beginners book. If you haven't spent several months coding (in Go or another language) and/or don't have at least a basic computer science education, etc. then you will likely find the material overwhelming; this book aims to demonstrate Go to programmers, and does an excellent job of it--there are certainly better resources for people totally new to programming.
The second chapter is a helluva thing. You might as well skip that (or gloss over it) and (re)read it after you've understood everything else. All other material should be read in sequence, then go back to chapter 2.
Bottom line: this book is almost perfect. It is an excellent resource for the intermediate programmer. The only significant improvement would be to have the authors teaching a class, using this book as its primary text.