Description
The Go Programming Language is the authoritative resource for any programmer who wants to learn Go. It shows how to write clear and idiomatic Go to solve real-world problems. The book does not assume prior knowledge of Go nor experience with any specific language, so you'll find it accessible whether you're most comfortable with JavaScript, Ruby, Python, Java, or C++.
Author: Alan A. a. Donovan, Brian W. Kernighan
Publisher: Addison-Wesley Professional
Published: 11/05/2015
Pages: 400
Binding Type: Paperback
Weight: 1.80lbs
Size: 9.10h x 7.30w x 1.00d
ISBN13: 9780134190440
ISBN10: 0134190440
BISAC Categories:
- Computers | Programming Languages | General
- The first chapter is a tutorial on the basic concepts of Go, introduced through programs for file I/O and text processing, simple graphics, and web clients and servers.
- Early chapters cover the structural elements of Go programs: syntax, control flow, data types, and the organization of a program into packages, files, and functions. The examples illustrate many packages from the standard library and show how to create new ones of your own. Later chapters explain the package mechanism in more detail, and how to build, test, and maintain projects using the go tool.
- The chapters on methods and interfaces introduce Go's unconventional approach to object-oriented programming, in which methods can be declared on any type and interfaces are implicitly satisfied. They explain the key principles of encapsulation, composition, and substitutability using realistic examples.
- Two chapters on concurrency present in-depth approaches to this increasingly important topic. The first, which covers the basic mechanisms of goroutines and channels, illustrates the style known as communicating sequential processes for which Go is renowned. The second covers more traditional aspects of concurrency with shared variables. These chapters provide a solid foundation for programmers encountering concurrency for the first time.
- The final two chapters explore lower-level features of Go. One covers the art of metaprogramming using reflection. The other shows how to use the unsafe package to step outside the type system for special situations, and how to use the cgo tool to create Go bindings for C libraries.
Author: Alan A. a. Donovan, Brian W. Kernighan
Publisher: Addison-Wesley Professional
Published: 11/05/2015
Pages: 400
Binding Type: Paperback
Weight: 1.80lbs
Size: 9.10h x 7.30w x 1.00d
ISBN13: 9780134190440
ISBN10: 0134190440
BISAC Categories:
- Computers | Programming Languages | General
About the Author
Alan A. A. Donovan is a member of Google's Go team in New York. He holds computer science degrees from Cambridge and MIT and has been programming in industry since 1996. Since 2005, he has worked at Google on infrastructure projects and was the co-designer of its proprietary build system, Blaze. He has built many libraries and tools for static analysis of Go programs, including oracle, godoc -analysis, eg, and gorename.