Buy New
-
To see product details, add this item to your cart.
Ships from: Amazon Sold by: Rockwood_Books
Used - Very Good
-
To see product details, add this item to your cart.
Ships from: GREENWORLD BOOKS Sold by: GREENWORLD BOOKS
Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.
Read instantly on your browser with Kindle for Web.
Using your mobile phone camera - scan the code below and download the Kindle app.
Follow the author
OK
100 Go Mistakes and How to Avoid Them
Purchase options and add-ons
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.
About the technology
Understanding mistakes is the best way to improve the quality of your code. This unique book examines 100 bugs and inefficiencies common to Go applications, along with tips and techniques to avoid making them in your own projects.
About the book
100 Go Mistakes and How to Avoid Them shows you how to replace common programming problems in Go with idiomatic, expressive code. In it, you’ll explore dozens of interesting examples and case studies as you learn to spot mistakes that might appear in your own applications. Expert author Teiva Harsanyi organizes the error avoidance techniques into convenient categories, ranging from types and strings to concurrency and testing.
What's inside
Identify and squash code-level bugs
Avoid problems with application structure and design
Perfect your data and control structures
Optimize your code by eliminating inefficiencies
About the reader
For developers proficient with Go programming and syntax.
About the author
Teiva Harsanyi is a senior software engineer at Docker with experience in various domains, including safety-critical industries like air traffic management.
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 The standard library
11 Testing
12 Optimizations
- ISBN-101617299596
- ISBN-13978-1617299599
- Publication dateOctober 4, 2022
- LanguageEnglish
- Dimensions7.38 x 0.96 x 9.25 inches
- Print length384 pages
Frequently bought together

Customers who viewed this item also viewed
- Learning Go: An Idiomatic Approach to Real-World Go ProgrammingPaperbackFREE Shipping by AmazonGet it as soon as Sunday, Sep 20
- Go Programming Language, The (Addison-Wesley Professional Computing Series)PaperbackFREE Shipping on orders over $35 shipped by AmazonGet it as soon as Wednesday, Sep 23Only 1 left in stock - order soon.
- Learn Concurrent Programming with GoPaperbackFREE Shipping by AmazonGet it as soon as Monday, Sep 21Only 13 left in stock (more on the way).
- Network Programming with Go: Code Secure and Reliable Network Services from ScratchPaperbackFREE Shipping by AmazonGet it as soon as Sunday, Sep 20
- Designing Data-Intensive Applications: The Big Ideas Behind Reliable, Scalable, and Maintainable SystemsPaperbackFREE Shipping by AmazonGet it as soon as Sunday, Sep 20
Customers also bought or read
- The Staff Engineer's Path: A Guide for Individual Contributors Navigating Growth and Change
Paperback$26.39$26.39Delivery Sun, Sep 20 - The Pragmatic Programmer: Your Journey To Mastery, 20th Anniversary Edition (2nd Edition)
Hardcover$45.97$45.97FREE delivery Sun, Sep 20 - System Design Interview – An insider's guide#1 Best SellerObject-Oriented Software Design
Paperback$39.99$39.99FREE delivery Mon, Sep 21 - Domain-Driven Design: Tackling Complexity in the Heart of Software
Hardcover$51.75$51.75FREE delivery Sun, Sep 20 - How Linux Works, 3rd Edition: What Every Superuser Should Know#1 Best SellerLinux Servers
Paperback$34.49$34.49Delivery Sun, Sep 20 - The Linux Programming Interface: A Linux and UNIX System Programming Handbook#1 Best SellerUnix Programming
Hardcover$61.99$61.99FREE delivery Wed, Sep 23 - Learning Domain-Driven Design: Aligning Software Architecture and Business Strategy
Paperback$37.49$37.49FREE delivery Mon, Sep 21 - TCP/IP Illustrated: The Protocols, Volume 1 (Addison-Wesley Professional Computing Series)#1 Best SellerTCP-IP
Hardcover$64.49$64.49FREE delivery Mon, Sep 21 - Black Hat Go: Go Programming For Hackers and Pentesters
Paperback$35.05$35.05$3.99 delivery Sep 28 - Oct 2 - Test Driven Development: By Example (Addison-Wesley Signature Series (Beck))
Paperback$38.33$38.33FREE delivery Tue, Sep 22 - Platform Engineering: A Guide for Technical, Product, and People Leaders
Paperback$39.00$39.00FREE delivery Sun, Sep 20 - The Software Engineer's Guidebook: Navigating senior, tech lead, and staff engineer positions at tech companies and startups#1 Best SellerUML Language
Paperback$34.49$34.49Delivery Sun, Sep 20 - Designing Machine Learning Systems: An Iterative Process for Production-Ready Applications
Paperback$40.00$40.00FREE delivery Sun, Sep 20 - Test-Driven Development in Go: A practical guide to writing idiomatic and efficient Go tests through real-world examples
Paperback$41.25$41.25FREE delivery Mon, Sep 21 - The Linux Command Line, 3rd Edition: A Complete Introduction#1 Best SellerLinux & UNIX Administration
Paperback$27.94$27.94Delivery Sun, Sep 20 - The Phoenix Project: A Novel About IT, DevOps, and Helping Your Business Win
Paperback$21.30$21.30Delivery Sun, Sep 20 - Unit Testing Principles, Practices, and Patterns: Effective testing styles, patterns, and reliable automation for unit testing, mocking, and integration testing with examples in C#
Paperback$40.00$40.00FREE delivery Sep 22 - 28 - Cracking the Coding Interview: 189 Programming Questions and Solutions#1 Best SellerData Structure and Algorithms
Paperback$25.79$25.79Delivery Mon, Sep 21 - The Product-Minded Engineer: Building Impactful Software for Your Users
Paperback$47.31$47.31FREE delivery Mon, Sep 21 - Site Reliability Engineering: How Google Runs Production Systems
Paperback$23.27$23.27Delivery Mon, Sep 21 - Domain-Driven Design with Golang: Use Golang to create simple, maintainable systems to solve complex business problems
Paperback$32.22$32.22Delivery Mon, Sep 21 - The Manager's Path: A Guide for Tech Leaders Navigating Growth and Change
Paperback$22.13$22.13Delivery Sun, Sep 20
From the Publisher
- Dodge the most common Go mistakes made by 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 order production-ready and improve testing quality
Isn't Go Supposed to be and easy language?
There is a subtle difference between simple and easy.
Simple applied to a technology, means not complicated to learn or understand. However, easy means that we can achieve anything without much effort.
Go is simple to learn but not easy to master.
To be a proficient Go developer, you must have a thorough understanding of many aspects of the language, which requires time, effort and mistakes.
This book aims to help accelerate your journey toward proficiency by delving into 100 Go Mistakes.
Why should you read a book about mistakes?
Neuroscientists proved that the best time for brain growth is when we're facing mistakes.
Haven't we all experienced the process of learning from a mistake and recalling that occasion after months or even years?
The main idea is that we can remember not only the error but also the context surrounding the mistake. This is one of the reasons why learning from mistakes is so efficient.
To strengthen this facilitative effect, this book accompanies each mistake as much as possible with real-world examples to help you get better at avoiding mistakes and making more well-informed conscious decisions because we now understand the rationale behind them.
Tell me and I forget. Teach me and I remember. Involve me and I learn.
What are key learning takeaways?
100 Go Mistakes and How to Avoid Them puts a spotlight on common errors in Go code you might not even know you are 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 error management and exposing HTTP services, discover best practices related to the standard library, and learn how to organize your code and project efficiently.
Editorial Reviews
Review
—Neeraj Shah, Nutanix
"Clear and effective examples. Armed with the understanding of how and why mistakes occur, you're equipped to avoid costly errors."
—Giuseppe Maxia, Vmware
"Teiva Harsanyi catalogs real problems and easy-to-miss 'gotchas,' and delves into the nuanced world of why they happen. Not having this book will be your 101st mistake."
—Anupam Sengupta, Red Hat
"Learn good habits by identifying bad ones. The writing is engaging, the examples relevant, and the insights useful."
—Thad Meyer, LI-COR Biosciences
From the Back Cover
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.
About the Author
Product details
- Publisher : Manning Publications
- Publication date : October 4, 2022
- Language : English
- Print length : 384 pages
- ISBN-10 : 1617299596
- ISBN-13 : 978-1617299599
- Item Weight : 1.4 pounds
- Dimensions : 7.38 x 0.96 x 9.25 inches
- Best Sellers Rank: #615,013 in Books (See Top 100 in Books)
- #31 in Computer Performance Optimization
- #263 in Software Testing
- #330 in Software Design & Engineering
- Customer Reviews:
About the author

Teiva Harsanyi is a senior software engineer at Google. He has worked in various domains, including insurance, transportation, and safety-critical industries like air traffic management. He is passionate about Go and how to design and implement reliable applications.




















