Your hands-on guide to Go, the revolutionary new language designed for concurrency, multicore hardware, and programmer convenience!
Today's most exciting new programming language, Go, is designed from the ground up to help you easily leverage all the power of today's multicore hardware. With this guide, pioneering Go programmer Mark Summerfield shows how to write code that takes full advantage of Go's breakthrough features and idioms. Both a tutorial and a language reference, "Programming in Go" brings together all the knowledge you need to evaluate Go, think in Go, and write high-performance software with Go.
Summerfield presents multiple idiom comparisons showing exactly how Go improves upon older languages, calling special attention to Go's key innovations. Along the way, he explains everything from the absolute basics through Go's lock-free channel-based concurrency and its flexible and unusual duck-typing type-safe approach to object-orientation. Throughout, Summerfield's approach is thoroughly practical. Each chapter offers multiple live code examples designed to encourage experimentation and help you quickly develop mastery. Wherever possible, complete programs and packages are presented to provide realistic use cases, as well as exercises.
Coverage includes: -- Quickly getting and installing Go, and building and running Go programs -- Exploring Go's syntax, features, and extensive standard library -- Programming Boolean values, expressions, and numeric types -- Creating, comparing, indexing, slicing, and formatting strings -- Understanding Go's highly efficient built-in collection types: slices and maps -- Using Go as a procedural programming language -- Discovering Go's unusual and flexible approach to object orientation -- Mastering Go's unique, simple, and natural approach to fine-grained concurrency -- Reading and writing binary, text, JSON, and XML files -- Importing and using standard library packages, custom packages, and third-party packages -- Creating, documenting, unit testing, and benchmarking custom packages
Good introduction to Go programming language. The real rating is around 7/10 - network programming wasn't covered, plus sometimes, too detailed description of relatively simple things.
Good book about GoLang. There are a lot of parallels with C, C++ and Java, which is good for experienced developers switching to Go. Sometimes the author is a bit more verbose, but this might be useful for less experienced programmers.
Go is what I've been picking up lately in the spirit of picking up a new programming language every so often. It's a good book; definitely don't let it be your only Golang book.
Have marked it "read" but have only read (and reread) first 3-4 chapters comprehensively -- have skimmed the rest. It is a dense book and it looks like I continue on I will understand the Go programming language.
About the Go programming language -- it's a compiled language with some nifty and odd syntactical forms, has some ability to be slim like a modern scripting language though there are parts that are still quite befuddling to me (like for instance, sorting collections of custom types that seems more byzantine that what I could accomplish in plain C).
Molto denso di informazioni, e scritto abbastanza bene, anche se un po' pesante. Richiede di essere letto con molta calma, con un computer sottomano per provare il codice e sperimentare le modifiche.