Go程序设计语言

艾伦 A. A. 多诺万

出版时间

2017-04-30

ISBN

9787111558422

评分

★★★★★

标签

编程

书籍介绍

本书由《C程序设计语言》的作者Kernighan和谷歌公司Go团队主管Alan Donovan联袂撰写,是学习Go语言程序设计的指南。本书共13章,主要内容包括:Go的基础知识、基本结构、基本数据类型、复合数据类型、函数、方法、接口、goroutine、通道、共享变量的并发性、包、go工具、测试、反射等。

本书适合作为计算机相关专业的教材,也可供Go语言爱好者阅读。

AI导读
核心看点
  • 由Kernighan与Donovan联袂撰写,Go语言权威指南
  • 系统讲解Go基础语法、并发模型及标准库使用
  • 代码示例丰富,深入剖析语言设计哲学与最佳实践
适合谁读
  • 计算机专业学生及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学习笔记》顺畅很多
想把全书大部分内容掌握有点困难啊,代码质量太高了,明明只是想学语法
入门书籍📚
不错的入门
喜欢这种思路清晰、讲解细致、案例完整的书。
书很好。看完了但还没做题
教材
下载
收藏