100 Go Mistakes and How to Avoid Them
Author: Teiva Harsanyi
Publisher finelybook 出版社: Manning (September 20, 2022)
Language 语言: English
Print Length 页数: 398 pages
ISBN-10: 1617299596
ISBN-13: 9781617299599
Book Description
By finelybook
Spot errors in your Go code you didn’t even know you were making and boost your productivity Author: avoiding common mistakes and pitfalls.
100 Go Mistakes and How to Avoid Them introduces dozens of techniques for writing idiomatic, expressive, and efficient Go code that avoids common pitfalls. Author: reviewing dozens of interesting, readable examples and real-world case studies, you’ll explore mistakes that even experienced Go programmers make. This book is focused on pure Go code, with standards you can apply to any kind of project.
As you go, you’ll navigate the tricky bits of handling JSON data and HTTP services, discover best practices for Go code organization, and learn how to use slices efficiently. Your code speed and quality will enjoy a huge boost when you improve your concurrency skills, deal with error management idiomatically, and increase the quality of your tests.
Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.
table of contents
1 GO: SIMPLE TO LEARN BUT HARD TO MASTER
2 CODE AND PROJECT ORGANIZATION
3 DATA TYPES
4 CONTROL STRUCTURES
5 STRINGS
6 FUNCTIONS AND METHODS
7 ERROR MANAGEMENT
8 CONCURRENCY: FOUNDATIONS
9 CONCURRENCY: PRACTICE
10 STANDARD LIBRARY
11 TESTING
12 OPTIMIZATIONS