Learning Go, 2nd Edition - Jon Bodner

Learning Go, 2nd Edition

Jon Bodner

出版时间

2024-02-26

ISBN

9781098139292

评分

★★★★★
书籍介绍
Go has rapidly become the preferred language for building web services. Plenty of tutorials are available to teach Go's syntax to developers with experience in other programming languages, but tutorials aren't enough. They don't teach Go's idioms, so developers end up recreating patterns that don't make sense in a Go context. This practical guide provides the essential background you need to write clear and idiomatic Go. No matter your level of experience, you'll learn how to think like a Go developer. Author Jon Bodner introduces the design patterns experienced Go developers have adopted and explores the rationale for using them. This updated edition also shows you how Go's generics support fits into the language. This book helps you: Write idiomatic code in Go and design a Go project Understand the reasons behind Go's design decisions Set up a Go development environment for a solo developer or team Learn how and when to use reflection, unsafe, and cgo Discover how Go's features allow the language to run efficiently Know which Go features you should use sparingly or not at all Use Go's tools to improve performance, optimize memory usage, and reduce garbage collection Learn how to use Go's advanced development tools
作者简介
Jon Bodner has been a software engineer, lead developer and architect for over 20 years. In that time, he has worked on software across many fields, including education, finance, commerce, healthcare, law, government, and internet infrastructure. Currently, he is a Staff Engineer at Datadog, leading the effort to simplify onboarding for their APM product. Previously, Jon was a Senior Distinguished Engineer at Capital One, working on tech commercialization, open source, testing, the semantic engine that provides payment page detection and population for Capital One's Eno browser extension (www.capitalone.com/applications/eno/virtualnumbers), and improving support for virtual credit card numbers inside of Capital One. Jon is a frequent speaker at Go conferences, and his blog posts on Go and software engineering have been read by more than 150,000 people. He is the creator of the Proteus data access library (github.com/jonbodner/proteus) and co-developer of checks-out, a fork of the LGTM project (github.com/capitalone/checks-out).
用户评论
我认为目前 go 入门最佳之作 (我有横向对比的). 而且这位作者很认真, 因为我读过这书第一版, 写作比第二版差不少, 证明作者进步了很多.
确实讲的不错,不论是对新手还是对有一定经验的开发者都有帮助。
跳着读完了,最有用的是 dependency injection 的思维。确实跟其他语言挺不一样的。
从第七章(Types, Methods, and Interfaces)开始有点缺乏条理
并发和之前的章节都不错~后面有点乱,就跳着看了
读了将近一半了,个人认为本书不适合完全编程新手学习,interface那一章需要有相当的开发背景才能理解其中的要点,另外本书常常不给出具体的语法规则,而是展示代码示例。但是看得出来作者确实在尽力讲解如何写出很地道的go程序。
正在翻译本书为中文版 https://github.com/chenyz1984/LearningGoV2CN
Z-Library
收藏