Cup o' Go

πŸ—“οΈ Go 1.22RC1 next week; πŸ“ˆ show analytics year in review, and chat with Jon Bodner, πŸ“• author of Learning Go, 2nd Ed.

14 snips
Dec 15, 2023
Jon Bodner, author of "Learning Go, 2nd Ed.", shares insights from his extensive experience in Go programming. He discusses the recent updates and complexities within the language, including managing dead code and the balance of concurrency. Bodner reflects on his journey as an author and the emotional challenges of writing technical content. The conversation also touches on community engagement within the Go ecosystem and the exciting developments in programming literature, providing a unique perspective on the evolution of Go.
Ask episode
AI Snips
Chapters
Books
Transcript
Episode notes
INSIGHT

Compile-Time Constants

  • The proposal to override constants at compile time has been declined.
  • This was deemed too complex and achievable with go build.
INSIGHT

GoDoc Localization Declined

  • The proposal for GoDoc localization (i18n) was declined due to resource constraints on the Go team.
  • Community efforts could potentially still implement an IDE plugin or LSP solution.
ADVICE

Using Deadcode

  • Integrate the deadcode tool into your workflow to identify unreachable functions.
  • Consider periodic checks on the main branch or leveraging tests for coverage.
Get the Snipd Podcast app to discover more snips from this episode
Get the app