Go程序设计语言

艾伦 A. A. 多诺万

出版时间

2017-04-30

ISBN

9787111558422

评分

★★★★★

标签

编程

书籍介绍
这不是一本教你快速上手Go的速成手册,而是一部把语言'为什么这么设计'讲透的著作。它最大的争议恰恰也最大的价值所在:中文版翻译质量参差,关键处生硬甚至出错,以至于不少读者直言'翻译一坨屎,去看原版'。正因如此,它更像一本值得反复咀嚼、甚至三刷的'圣经'——内容精确、简单、优美,但代码示例要求读者具备相当基础,'只想学语法'的人会感到吃力。书中对零值、作用域、生命周期、包导入的严苛规则等细节的较真,正是避免'意想不到的错误'的关键。适合愿意啃透原理、追求精确理解的中级开发者;若只求速成,或许原版更省心。
AI导读
核心看点
  • 由Kernighan与Donovan联袂撰写,Go语言权威指南
  • 系统讲解Go基础语法、并发模型及标准库使用
  • 代码示例丰富,深入剖析语言设计哲学与最佳实践
读者共识
  • 内容权威且结构清晰,被誉为Go语言圣经
  • 中文版翻译广受诟病,严重影响阅读体验
  • 适合有一定基础者进阶,纯新手可能感到吃力
精彩摘录
  • "这个规则有一个例外:两个变量的类型不携带任何信息且是零值,例如 struct{} 或 [0]int,在当前的实现里面,它们有相同的地址。"
  • "There is one exception to this rule: two variables whose type carries no information and is therefore of size zero, such as struct{} or [0]int, may, depending on the implementation, have the same address."
  • "It is not a problem if the map doesn't yet contain that key"
  • "if the expression is omitted, the initial value is the zero value for this type"
  • "It perfectly safe for a function to return the address of a local variable"
  • "Any file may contain any number of functions whose declaration is just func init() {}"
  • "The type rune is an synonym for int32"
  • "The compiler represents these uncommitted constants with much greater numeric precision than values of basic types, and arithmetic on them is more precise than machine arithmetic; you may assume at least 256 bits of precision."
目录
出版者的话
译者序
前言
第1章 入门 1
1.1 hello,world 1

显示全部
用户评论
翻譯質量參差
翻译不行, 感觉还没有民间组织的中文版读起来顺畅。
go语言圣经,内容和表达都十分出色,英文版的读来更舒服
对于语言本身的讲解 比《go学习笔记》顺畅很多
想把全书大部分内容掌握有点困难啊,代码质量太高了,明明只是想学语法
入门书籍📚
不错的入门
喜欢这种思路清晰、讲解细致、案例完整的书。
书很好。看完了但还没做题
教材
下载
收藏
全部深度解读 →主题书单高分榜最近更新