Go Design Patterns

Go Design Patterns

作者: Mario Castro Contreras
出版社: Packt Publishing
出版在: 2017-02-24
ISBN-13: 9781786466204
ISBN-10: 1786466201
裝訂格式: Paperback
總頁數: 402 頁





內容描述


Learn idiomatic, efficient, clean, and extensible Go design and concurrency patterns by using TDDAbout This BookA 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 ForThe target audience is both beginner- and advanced-level developers in the Go programming language. No knowledge of design patterns is expected.What You Will LearnAll basic syntax and tools needed to start coding in GoEncapsulate the creation of complex objects in an idiomatic way in GoCreate unique instances that cannot be duplicated within a programUnderstand the importance of object encapsulation to provide clarity and maintainabilityPrepare cost-effective actions so that different parts of the program aren t affected by expensive tasksDeal with channels and GoRoutines within the Go context to build concurrent application in Go in an idiomatic wayIn DetailGo 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 approachThis 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.




相關書籍

認識大數據的第一本書

作者 Anil Maheshwari 徐瑞珠 譯

2017-02-24

Spark核心技術與高級應用

作者 於俊

2017-02-24

學習 HTML5 (第7版)

作者 Terry Felke-Morris

2017-02-24