Go Programming Language, The (Addison-Wesley Professional Computing Series)
Price: [price_with_discount]
(as of [price_update_date] – Details)
The authoritative resource to writing clear and idiomatic Go to solve real-world problems
Google’s Go team member Alan A. A. Donovan and Brian Kernighan, co-author of The C Programming Language, provide hundreds of interesting and practical examples of well-written Go code to help programmers learn this flexible, and fast, language. It is designed to get you started programming with Go right away and then to progress on to more advanced topics.
Basic components : an opening tutorial provides information and examples to get you off the ground and doing useful things as quickly as possible. This includes: command-line argumentsgifsURLsweb serversProgram structure : simple examples cover the basic structural elements of a Go program without getting sidetracked by complicated algorithms or data structures.Data types: Go offers a variety of ways to organize data, with a spectrum of data types that at one end match the features of the hardware and at the other end provide what programmers need to conveniently represent complicated data structures.Composite types : arraysslicesmapsstructsJSONtest and HTML templatesFunctions : break a big job into smaller pieces that might well be written by different people separated by both time and space.Methods :declarationswith a pointer receiverstruct embeddingvalues and expressionsInterfaces : write functions that are more flexible and adaptable because they are not tied to the details of one particular implementation.Concurrent programming : Goroutines, channels, and with shared variables.Packages : use existing packages and create new ones.Automated testing : write small programs that check the code.Reflection features : update variables and inspect their values at run time.Low-level programming : step outside the usual rules to achieve the highest possible performance, interoperate with libraries written in other languages, or implement a function that cannot be expressed in pure Go.
Each chapter has exercises to test your understanding and explore extensions and alternatives. Source code is freely available for download and may be conveniently fetched, built, and installed using the go get command.
From the Publisher
Why You Should Learn Go with this Authoritative Guide
Flexible
Go bears a surface similarity to C and, like C, is a tool for professional programmers, achieving maximum effect with minimum means. But it is much more than an updated version of C.
Go borrows and adapts good ideas from many other languages, while avoiding features that have led to complexity and unreliable code.
Co-author Brian Kernighan was a co-creator of several programming languages and the co-author of one of the most popular programming books of all-time The C Programming Language.
General-purpose language
Go is especially well suited for building infrastructure like networked servers, and tools and systems for programmers, but it is truly a general-purpose language and finds use in domains as diverse as graphics, mobile applications, and machine learning.
The book features hundreds of interesting and practical examples of well-written Go code that cover the whole language, its most important packages, and a wide range of applications
Efficient
Go programs typically run faster than programs written in dynamic languages and suffer far fewer crashes due to unexpected type errors.
This book is meant to help you start using Go effectively right away and to use it well, taking full advantage of Go’s language features and standard libraries to write clear, idiomatic, and efficient programs.
ASIN : 0134190440
Publisher : Addison-Wesley Professional; 1st edition (October 26, 2015)
Language : English
Paperback : 400 pages
ISBN-10 : 9780134190440
ISBN-13 : 978-0134190440
Item Weight : 1.63 pounds
Dimensions : 9.1 x 7.3 x 1 inches
[ad_2]