100 Go Mistakes and How to Avoid Them
- 书名:100 Go Mistakes and How to Avoid Them
- 作者: Teiva Harsanyi
- 格式:EPUB,MOBI,AZW3
- 时间:2024-06-20
- 评分:
- ISBN:9781617299599
Spot errors in your Go code you didn’t even know you were making and boost your productivity by avoiding common mistakes and pitfalls.
100 Go Mistakes and How to Avoid Them shows you how to:
Dodge the most common mistakes made by Go developers
Structure and organize your Go application
Handle data and control structures efficiently
Deal with errors in an idiomatic manner
Improve your concurrency skills
Optimize your code
Make your application production-ready and improve testing quality
100 Go Mistakes and How to Avoid Them puts a spotlight on common errors in Go code you might not even know you’re making. You’ll explore key areas of the language such as concurrency, testing, data structures, and more—and learn how to avoid and fix mistakes in your own projects. 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.
-
沉寂之舟11-18不仅仅是讲解错误这么简单,还指名了代码风格已经使用场景,优缺点也分析的很到位,还包括了设计模式和最佳实践,是一本能对Go语言提高很有帮助的书.
-
铬天青09-28除了那些应该贴在屏幕上的规范,还学到了大量匪夷所思的优化技巧。举个例子,按照降序重新排列结构体的字段后可以得到更紧凑的内存分布。
-
买个包儿10-28#56有误,GMP模型一节的GOMAXPROCS对应的是P的数量,不是M的数量。5星,本书没有深入底层细节,很适合我这种对底层机制兴趣不大的人,查缺补漏,写好业务代码。
-
2024-07-286
-
2024-07-286
-
2024-07-287
-
2024-07-287
-
2024-07-287
-
2024-07-287
-
2024-07-286
-
2024-07-285