Learning Go: An Idiomatic Approach to Real-world Go Programming
Author: Jon Bodner (Author)
Publisher finelybook 出版社: Oreilly & Associates Inc
Edition 版本: 2nd
Publication Date 出版日期: 2024-02-27
Language 语言: English
Print Length 页数: 400 pages
ISBN-10: 1098139291
ISBN-13: 9781098139292
Book Description
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
About the Author
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).