Learning Go: An Idiomatic Approach to Real-World Go Programming

Bodner, Jon

買這商品的人也買了...

商品描述

Go is rapidly becoming the preferred language for building web services. There are plenty of tutorials available that 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 reveals design patterns that experienced Go developers have adopted and the rationale for them. You'll learn how to structure your project and choose the proper tools and libraries to create successful software.

  • Learn how to write idiomatic code in Go and design a Go project
  • Understand the reasons for the design decisions in Go
  • Set up a Go development environment for a solo developer or team
  • Learn how and when to use reflection, unsafe, and CGo
  • Learn how Go's features allow the language to run efficiently
  • Know which Go features you should use sparingly, or not at all
  • Learn the future of Go, including Generics

商品描述(中文翻譯)

Go語言正迅速成為建立網路服務的首選語言。有許多教學可供開發者學習Go的語法,尤其是對於有其他程式語言經驗的開發者來說。但教學並不足夠,它們並未教授Go的慣用法,因此開發者最終會在Go的情境中重新創建不合理的模式。這本實用指南提供了撰寫清晰且符合慣用法的Go所需的基本背景知識。

無論您的經驗水平如何,您都將學習如何像Go開發者一樣思考。作者Jon Bodner揭示了經驗豐富的Go開發者所採用的設計模式及其背後的原理。您將學習如何結構化您的專案,並選擇適當的工具和函式庫來創建成功的軟體。

- 學習如何以慣用的方式撰寫Go程式碼並設計Go專案
- 理解Go設計決策的原因
- 為個人開發者或團隊建立Go開發環境
- 學習何時以及如何使用反射、不安全操作和CGo
- 了解Go的特性如何使語言運行高效
- 知道應該節制使用哪些Go特性,或者根本不使用
- 了解Go的未來發展,包括泛型功能

作者簡介

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.

Jon is a Distinguished Engineer at Capital One, working on 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).

作者簡介(中文翻譯)

Jon Bodner已經擔任軟體工程師、首席開發人員和架構師超過20年。在這段時間裡,他曾在教育、金融、商業、醫療、法律、政府和互聯網基礎設施等多個領域的軟體上工作。

Jon是Capital One的杰出工程師,負責開發提供Capital One Eno瀏覽器擴展(www.capitalone.com/applications/eno/​virtualnumbers)的付款頁面檢測和填充的語義引擎,並改進Capital One內部虛擬信用卡號碼的支援。

Jon經常在Go會議上演講,他關於Go和軟體工程的博客文章已經被超過150,000人閱讀。他是Proteus數據訪問庫(github.com/jonbodner/proteus)的創建者,也是checks-out項目(github.com/capitalone/checks-out)的共同開發者,該項目是LGTM項目的分支。