The Go Programming Language (Paperback)
暫譯: Go 程式語言 (平裝本)
Alan A. A. Donovan, Brian W. Kernighan
- 出版商: Addison Wesley
- 出版日期: 2015-11-05
- 售價: $1,900
- 貴賓價: 9.5 折 $1,805
- 語言: 英文
- 頁數: 400
- 裝訂: Paperback
- ISBN: 0134190440
- ISBN-13: 9780134190440
-
相關分類:
Go 程式語言
-
相關翻譯:
精通 Go 程式設計 (The Go Programming Language) (繁中版)
Go 語言編程 (The Go programming language) (簡中版)
銷售排行:
🥇 2020/2 英文書 銷售排行 第 1 名
立即出貨
買這商品的人也買了...
-
$1,805Test-Driven Development: By Example (Paperback)
-
$1,362Fundamentals of Data Structures in C++, 2/e (Paperback)
-
$620$490 -
$3,980$3,900 -
$550$550 -
$650$507 -
$1,720$1,634 -
$390$332 -
$780$616 -
$360$284 -
$590$460 -
$680$537 -
$2,043Site Reliability Engineering: How Google Runs Production Systems (Paperback)
-
$580$493 -
$1,615$1,530 -
$580$458 -
$360$180 -
$2,043Designing Data-Intensive Applications: The Big Ideas Behind Reliable, Scalable, and Maintainable Systems (Paperback)
-
$1,758Concurrency in Go: Tools and Techniques for Developers (Paperback)
-
$1,890$1,796 -
$294$279 -
$1,995The Pragmatic Programmer: your journey to mastery, 2/e (20th Anniversary Edition) (Hardcover)
-
$2,660Head First Design Patterns: Building Extensible and Maintainable Object-Oriented Software, 2/e (Paperback)
-
$1,750$1,663 -
$2,146Introduction to Algorithms, 4/e (Hardcover)
相關主題
商品描述
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++.
-
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.
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. Each chapter has exercises to test your understanding and explore extensions and alternatives. Source code is freely available for download from http://gopl.io/ and may be conveniently fetched, built, and installed using the go get command.
商品描述(中文翻譯)
《The Go Programming Language》是任何想學習 Go 的程式設計師的權威資源。它展示了如何編寫清晰且符合慣用法的 Go 代碼來解決現實世界中的問題。本書不假設讀者具備 Go 的先前知識或任何特定語言的經驗,因此無論您最熟悉 JavaScript、Ruby、Python、Java 還是 C++,都能輕鬆閱讀。
- 第一章是關於 Go 基本概念的教程,通過文件 I/O 和文本處理、簡單圖形以及網頁客戶端和伺服器的程式來介紹。
- 早期章節涵蓋 Go 程式的結構元素:語法、控制流程、資料類型,以及如何將程式組織成套件、檔案和函數。範例展示了許多標準庫中的套件,並顯示如何創建自己的新套件。後面的章節更詳細地解釋了套件機制,以及如何使用 go 工具來構建、測試和維護專案。
- 關於方法和介面的章節介紹了 Go 在物件導向程式設計中的非傳統方法,其中方法可以在任何類型上聲明,介面則是隱式滿足的。它們使用現實範例解釋了封裝、組合和可替代性的關鍵原則。
- 兩章關於並發的內容深入探討了這個日益重要的主題。第一章涵蓋了 goroutines 和通道的基本機制,展示了 Go 以其著名的通訊序列過程風格。第二章則涵蓋了共享變數的更傳統的並發方面。這些章節為第一次接觸並發的程式設計師提供了堅實的基礎。
- 最後兩章探討了 Go 的低階特性。一章涵蓋了使用反射的元程式設計藝術。另一章則展示了如何使用 unsafe 套件在特殊情況下超越類型系統,以及如何使用 cgo 工具為 C 函式庫創建 Go 綁定。
本書包含數百個有趣且實用的範例,展示了良好編寫的 Go 代碼,涵蓋整個語言、其最重要的套件以及廣泛的應用。每章都有練習題來測試您的理解並探索擴展和替代方案。源代碼可從 http://gopl.io/ 免費下載,並可以方便地使用 go get 命令獲取、構建和安裝。