The Go Programming Language (paperback)
 
作者: Brian W. Kernighan 
分類: Programming & scripting languages: general  
書城編號: 984881


售價: $413.00

購買後立即進貨, 約需 7-14 天

 
 
出版社: Addison-Wesley Professional
出版日期: 2015/11/05
重量: 0.82 kg
ISBN: 9780134190440

商品簡介


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 arguments
    • gifs
    • URLs
    • web servers
  • Program 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:
    • arrays
    • slices
    • maps
    • structs
    • JSON
    • test and HTML templates
  • Functions: break a big job into smaller pieces that might well be written by different people separated by both time and space.
  • Methods:
    • declarations
    • with a pointer receiver
    • struct embedding
    • values and expressions
  • Interfaces: 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.

Brian W. Kernighan 作者作品表

eBook: Understanding the Digital World: What You Need to Know about Computers, the Internet, Privacy, and Security, Second Edition (DRM PDF)

eBook: Understanding the Digital World: What You Need to Know about Computers, the Internet, Privacy, and Security, Second Edition (DRM EPUB)

eBook: Millions, Billions, Zillions: Defending Yourself in a World of Too Many Numbers (DRM PDF)

The Go Programming Language (paperback)

C Programming Language (2nd Edition) (Prentice Hall Software) (Paperback)

* 以上資料僅供參考之用, 香港書城並不保證以上資料的準確性及完整性。
* 如送貨地址在香港以外, 當書籍/產品入口時, 顧客須自行繳付入口關稅和其他入口銷售稅項。

 

 

 

  我的賬戶 |  購物車 |  出版社 |  團購優惠
加入供應商 |  廣告刊登 |  公司簡介 |  條款及細則

香港書城 版權所有 私隱政策聲明

顯示模式: 電腦版 (改為: 手機版)