GO语言设计模式 go-design-patterns

时间:2020-09-26 11:16:41
【文件属性】:

文件名称:GO语言设计模式 go-design-patterns

文件大小:5.27MB

文件格式:PDF

更新时间:2020-09-26 11:16:41

GO设计模式 GO Design Patterns

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 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. Thus the book will enable you to understand and apply design patterns in an idiomatic way that will produce concise, readable, and maintainable software. 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.


网友评论