100-go-mistakes
π 100 Go Mistakes and How to Avoid Them (by teivah)
go101
An up-to-date (unofficial) knowledge base for Go programming self learning (by go101)
100-go-mistakes | go101 | |
---|---|---|
11 | 41 | |
6,305 | 5,395 | |
- | - | |
9.0 | 7.3 | |
about 1 month ago | 3 days ago | |
Go | HTML | |
GNU General Public License v3.0 or later | GNU General Public License v3.0 or later |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
100-go-mistakes
Posts with mentions or reviews of 100-go-mistakes.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-06-06.
-
Is there a good place to find best practices?
I usually see and recommend: https://go.dev/talks/2013/bestpractices.slide#1 https://go.dev/talks/2014/readability.slide#1 https://github.com/golang/go/wiki/CodeReviewComments https://about.sourcegraph.com/blog/go/idiomatic-go https://github.com/teivah/100-go-mistakes
-
π§ Cognitive Load Developer's Handbook
Yep and ~15 (depending on how you look at it) of the 100 Go Mistakes and How to Avoid Them related to channels and wait groups.
- How to get better on golang
- Which books should I read as an experienced Go developer?
-
Resources for an experienced programmer wanting to learn Go
I would also recommend this book https://github.com/teivah/100-go-mistakes
-
Golang interview prep
https://github.com/teivah/100-go-mistakes if it helps
-
New to go, what are the best practices?
In addition to the other recommendations, I highly recommend this book about common Go mistakes and idiomatic ways on how to avoid them.
-
Where can I find today's version of "Effective Go" article and catch up on best practices?
I've started reading this book and I think it's pretty great and up to date. There is even a content summary on GitHub, so you can check if you would like it.
- Performance Impact of Maps Compared to Slices
-
π 100 Go Mistakes: Released!
In the meantime, I've prepared a GitHub repo containing the source code and a summary of each mistake described in the book: https://github.com/teivah/100-go-mistakes. I also have in mind this it could become a collaborative place where people could contribute and propose common mistakes; let's see if that works out.
go101
Posts with mentions or reviews of go101.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-04-17.
-
The Journey Ahead: My 6-Month Plan to Master GoLang
Go101: An in-depth guide that explores Go's internals, perfect for understanding the language at a deeper level.
- All books in Go 101 series have been updated to Go 1.21
-
Deconstructing Go Type Parameters
Go101 is a jewel of a resource. Itβs a spec written by an impartial observer not worried about trying to make golang look good but instead giving you the understanding to avoid all the edge cases
https://go101.org/
- How to learn go from zero?
-
Perfect Golang learning roadmap
How about this: https://go101.org/ might help :)
-
Resources for an experienced programmer wanting to learn Go
Go 101 books, which cover every corner of the language itself (syntax, semantics, compiler and runtime implementation) and make more detailed explanations than the official docs in several points. (Author here)
-
Golang string concatenation performance comparison
Sometimes, reality and theory are not consistent: https://github.com/go101/go101/blob/master/pages/optimizations/code/4-string-and-byte-slice/concat-with-stack-byte-slice_test.go
-
Language specification or just a detailed book on the internals (focused on usage rather than compiler creation)?
How about go 101 ?
- I know JavaScript and looking for Go learning resource
-
Senior engineer here trying to pick up Go for jobs. What resources can you recommend me to cover as much ground as possible
https://go101.org/ - read this.
What are some alternatives?
When comparing 100-go-mistakes and go101 you can also consider the following projects:
go - The Go programming language
go-multierror - A Go (golang) package for representing a list of errors as a single error.
rustig - A tool to detect code paths leading to Rust's panic handler
cognitive-load - π§ Cognitive Load In Software Development
go-perfbook - Thoughts on Go performance optimization
linters - a community wiki for improving code quality
gopl.io - Example programs from "The Go Programming Language"
gobyexample - Go by Example
mangagram - A Telegram bot for new manga chapter alerts. Search for your favorite titles and subscribed to them for alerts.
gurl
go-sumtype - A simple utility for running exhaustiveness checks on Go "sum types."