Go by Example: Programmer's Guide to Idiomatic and Testable Code

Gumus, Inanc

  • 出版商: Manning
  • 出版日期: 2024-09-24
  • 售價: $2,310
  • 貴賓價: 9.5$2,195
  • 語言: 英文
  • 頁數: 300
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1617299898
  • ISBN-13: 9781617299896
  • 相關分類: Go 程式語言
  • 尚未上市,歡迎預購

相關主題

商品描述

Unlock Go's unique perspective on program design, and start writing simple, maintainable, and testable Go code.

In Go by Example you will learn how to:

  • Write idiomatic and easy-to-maintain Go programs from scratch
  • Test Go according to best practices
  • Spot common Go anti-patterns
  • Create practical Go packages and applications
  • Design and organize Go code and programs
  • Understand what makes Go different from other languages

Go by Example is a practical guide to writing high-quality code that's easy to test and maintain. The book is full of best practices to adopt and anti-patterns to dodge. It explores what makes Go so dramatically different from other languages and how you can still leverage your existing skills into writing excellent Go code. Aimed at Go beginners looking to graduate to serious Go development, this book will help you write and test command line applications, web API clients and servers, concurrent programs, and more.

Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.

About the technology

Writing well-designed Go code takes more than just porting across skills you've learned in other languages. You'll need to understand Go's unique way of working to ensure your programs don't spiral out of control. This book is the perfect primer on Go's hidden mechanics that will help you code more effective Go.

About the book

Go by Example teaches you to write well-designed and maintainable code in Go. By concentrating on Go's unique characteristics, you'll learn how to stop fighting against the language and start delivering idiomatic code that's simple, adaptable, and testable. You'll learn how to deliver applications and how to extend code with robust testing. Easy-to-understand visualizations and step-by-step examples help explain Go's complexities without oversimplification.

About the reader

For programmers who have learned the basics of Go.

About the author

Inanc Gumus has over 20 years of experience in software engineering. For the last four years, he has worked as a consultant for Go software architecture, focusing on best practices and testing. Inanc is also an open-source contributor to the official Go test package, and teaches Go through online courses, his blog, his Youtube channel, and GitHub repository with over 10,000 stars.

商品描述(中文翻譯)

解鎖Go對程式設計的獨特觀點,並開始撰寫簡單、易於維護和可測試的Go程式碼。

在《Go by Example》中,您將學習以下內容:
- 從頭開始撰寫符合慣用法且易於維護的Go程式
- 根據最佳實踐測試Go程式
- 辨識常見的Go反模式
- 創建實用的Go套件和應用程式
- 設計和組織Go程式碼和程式
- 理解Go與其他語言的不同之處

《Go by Example》是一本實用指南,教您如何撰寫易於測試和維護的高品質程式碼。該書充滿了採用的最佳實踐和需要避免的反模式。它探討了Go與其他語言的截然不同之處,以及如何利用現有技能撰寫出優秀的Go程式碼。本書針對希望從初學者轉變為專業Go開發者的人士,將幫助您撰寫和測試命令列應用程式、網路API客戶端和伺服器、並行程式等。

購買印刷版書籍將包含Manning Publications提供的PDF、Kindle和ePub格式的免費電子書。

關於技術:
撰寫設計良好的Go程式碼不僅僅是將您在其他語言中學到的技能移植過來。您需要了解Go獨特的工作方式,以確保您的程式不會失控。本書是關於Go隱藏機制的完美入門指南,將幫助您編寫更有效的Go程式。

關於本書:
《Go by Example》教您如何在Go中撰寫設計良好且易於維護的程式碼。通過專注於Go的獨特特性,您將學習如何停止對抗語言,開始交付符合慣用法、簡單、適應性強且可測試的程式碼。易於理解的視覺化和逐步示例有助於解釋Go的複雜性,而不會過度簡化。

關於讀者:
適合已掌握Go基礎的程式設計師。

關於作者:
Inanc Gumus在軟體工程領域擁有超過20年的經驗。在過去的四年中,他一直擔任Go軟體架構的顧問,專注於最佳實踐和測試。Inanc也是官方Go測試套件的開源貢獻者,並通過線上課程、部落格、YouTube頻道和擁有超過10,000個星星的GitHub存儲庫來教授Go。