Go Design Patterns
暫譯: Go 設計模式
Mario Castro Contreras
- 出版商: Packt Publishing
- 出版日期: 2017-02-24
- 售價: $2,220
- 貴賓價: 9.5 折 $2,109
- 語言: 英文
- 頁數: 402
- 裝訂: Paperback
- ISBN: 1786466201
- ISBN-13: 9781786466204
-
相關分類:
Go 程式語言、程式語言、Design Pattern
海外代購書籍(需單獨結帳)
買這商品的人也買了...
-
$880$695 -
$1,646Operating System Concepts, 9/e (IE-Paperback)
-
$780$616 -
$780$616 -
$580$458 -
$500$395 -
$480$379 -
$500$395 -
$360$281 -
$580$458 -
$774$735 -
$2,050$1,948 -
$450$405 -
$720$612 -
$590$460 -
$450$356 -
$390$308 -
$450$356 -
$1,758Concurrency in Go: Tools and Techniques for Developers (Paperback)
-
$780$616 -
$1,520$1,444 -
$1,496Distributed Services with Go: Your Guide to Reliable, Scalable, and Maintainable Systems
-
$1,840Learning Go: An Idiomatic Approach to Real-World Go Programming
-
$1,440PostgreSQL Query Optimization: The Ultimate Guide to Building Efficient Queries (Paperback)
-
$1,830$1,739
商品描述
Learn idiomatic, efficient, clean, and extensible Go design and concurrency patterns by using TDD
About This Book
- A highly practical guide filled with numerous examples unleashing the power of design patterns with Go.
- Discover an introduction of the CSP concurrency model by explaining GoRoutines and channels.
- Get a full explanation, including comprehensive text and examples, of all known GoF design patterns in Go.
Who This Book Is For
The target audience is both beginner- and advanced-level developers in the Go programming language. No knowledge of design patterns is expected.
What You Will Learn
- All basic syntax and tools needed to start coding in Go
- Encapsulate the creation of complex objects in an idiomatic way in Go
- Create unique instances that cannot be duplicated within a program
- Understand the importance of object encapsulation to provide clarity and maintainability
- Prepare cost-effective actions so that different parts of the program aren t affected by expensive tasks
- Deal with channels and GoRoutines within the Go context to build concurrent application in Go in an idiomatic way
In Detail
Go is a multi-paradigm programming language that has built-in facilities to create concurrent applications. Design patterns allow developers to efficiently address common problems faced during developing applications.
Go Design Patterns will provide readers with a reference point to software design patterns and CSP concurrency design patterns to help them build applications in a more idiomatic, robust, and convenient way in Go.
The book starts with a brief introduction to Go programming essentials and quickly moves on to explain the idea behind the creation of design patterns and how they appeared in the 90 s as a common "language" between developers to solve common tasks in object-oriented programming languages. You will then learn how to apply the 23 Gang of Four (GoF) design patterns in Go and also learn about CSP concurrency patterns, the "killer feature" in Go that has helped Google develop software to maintain thousands of servers.
With all of this the book will enable you to understand and apply design patterns in an idiomatic way that will produce concise, readable, and maintainable software.
Style and approach
This book will teach widely used design patterns and best practices with Go in a step-by-step manner. The code will have detailed examples, to allow programmers to apply design patterns in their day-to-day coding.
商品描述(中文翻譯)
透過測試驅動開發 (TDD) 學習地道、高效、乾淨且可擴展的 Go 設計與併發模式
本書簡介
- 一本實用性極高的指南,充滿了眾多範例,釋放 Go 設計模式的力量。
- 透過解釋 GoRoutines 和通道,發現 CSP 併發模型的介紹。
- 對所有已知的 GoF 設計模式在 Go 中進行全面解釋,包括詳細的文字和範例。
本書適合誰閱讀
目標讀者為 Go 程式語言的初學者和進階開發者。不需要具備設計模式的知識。
您將學到什麼
- 開始使用 Go 編碼所需的所有基本語法和工具
- 以地道的方式封裝複雜物件的創建
- 創建在程式中無法重複的唯一實例
- 理解物件封裝的重要性,以提供清晰性和可維護性
- 準備具成本效益的行動,以便程式的不同部分不會受到昂貴任務的影響
- 在 Go 的上下文中處理通道和 GoRoutines,以地道的方式構建 Go 的併發應用程式
詳細內容
Go 是一種多範式的程式語言,內建功能可用於創建併發應用程式。設計模式使開發者能夠有效地解決在開發應用程式過程中面臨的常見問題。
《Go 設計模式》將為讀者提供軟體設計模式和 CSP 併發設計模式的參考點,幫助他們以更地道、穩健和方便的方式在 Go 中構建應用程式。
本書首先簡要介紹 Go 程式設計的基本要素,然後迅速解釋設計模式創建背後的理念,以及它們在 90 年代如何成為開發者之間解決物件導向程式語言中常見任務的共同「語言」。接著,您將學習如何在 Go 中應用 23 種 Gang of Four (GoF) 設計模式,並了解 CSP 併發模式,這是 Go 中的「殺手級功能」,幫助 Google 開發軟體以維護數千台伺服器。
透過這一切,本書將使您能夠以地道的方式理解和應用設計模式,從而產生簡潔、可讀且可維護的軟體。
風格與方法
本書將以逐步的方式教授廣泛使用的設計模式和最佳實踐,並使用 Go 進行示範。程式碼將包含詳細範例,以便程式設計師在日常編碼中應用設計模式。