Refresh Your Home For Fall
Buy New
To see product details, add this item to your cart.
Ships from: Amazon
Sold by: Rockwood_Books
To see product details, add this item to your cart. You can always remove it later.
Ships from
Amazon
Amazon
Ships from
Amazon
Returns
30-day refund / replacement
30-day refund / replacement
This item can be returned in its original condition for a full refund or replacement within 30 days of receipt.
Read full return policy
Payment
Secure transaction
Your transaction is secure
We work hard to protect your security and privacy. Our payment security system encrypts your information during transmission. We don’t share your credit card details with third-party sellers, and we don’t sell your information to others. Learn more
Gift options
Available at checkout
Available at checkout This item is a gift. Change
At checkout, you can add a custom message, a gift receipt for easy returns and have the item gift-wrapped
To see product details, add this item to your cart. You can always remove it later.
Fast Free Shipping – Very Good condition book with a firm cover and clean pages. Shows normal use and some light wear or limited notes markings. A solid, nice copy to enjoy. Fast Free Shipping – Very Good condition book with a firm cover and clean pages. Shows normal use and some light wear or limited notes markings. A solid, nice copy to enjoy. See less
Access codes and supplements are not guaranteed with used items.
Ships from and sold by GREENWORLD BOOKS.
Added to

Sorry, there was a problem.

There was an error retrieving your Wish Lists. Please try again.

Sorry, there was a problem.

List unavailable.
Kindle app logo image

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.

QR code to download the Kindle App

  • 100 Go Mistakes and How to Avoid Them
  • First Chapter Summary
  • VIDEO

Follow the author

Get new release updates & improved recommendations
Something went wrong. Please try your request again later.

100 Go Mistakes and How to Avoid Them

4.7 out of 5 stars (161)

Purchase options and add-ons

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.

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

Frequently bought together

This item: 100 Go Mistakes and How to Avoid Them
$43.98
Get it as soon as Sunday, Sep 20
Only 15 left in stock - order soon.
Sold by Rockwood_Books and ships from Amazon Fulfillment.
+
$43.64
Get it as soon as Sunday, Sep 20
In Stock
Ships from and sold by Amazon.com.
+
$35.67
Get it Sep 28 - Oct 1
In stock
Usually ships within 3 to 4 days.
Ships from and sold by Pensive Keyboard Books.
Total price: $00
To see our price, add these items to your cart.
Details
Added to Cart
Some of these items ship sooner than the others.
Choose items to buy together.

Customers also bought or read

Loading...

From the Publisher

100 Go Mistakes and How to Avoid Them
Go Routines

Key Book Topics

  • 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.

HTTP Handler request and response

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.

Working with Go data

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

"Required reading for Go developers before they touch code in production. It's the Go equivalent of Effective Java."
—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

100 Go Mistakes: How to Avoid Them introduces dozens of techniques for writing idiomatic, expressive, and efficient Go code that avoids common pitfalls. By 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.

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)
  • Customer Reviews:
    4.7 out of 5 stars (161)

About the author

Follow authors to get new release updates, plus improved recommendations.
Teiva Harsanyi
Brief content visible, double tap to read full content.
Full content visible, double tap to read brief content.

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.