linters
a community wiki for improving code quality (by mcandre)
100-go-mistakes
📖 100 Go Mistakes and How to Avoid Them (by teivah)
linters | 100-go-mistakes | |
---|---|---|
3 | 11 | |
338 | 6,284 | |
- | - | |
7.2 | 9.0 | |
4 months ago | 27 days ago | |
Go | ||
- | 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.
linters
Posts with mentions or reviews of linters.
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?
-
Golang Security Checker
Some links on these pages:
https://analysis-tools.dev/tag/rust https://github.com/mcandre/linters#rust https://github.com/collab-qa/check-all-the-things/blob/maste...
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.
What are some alternatives?
When comparing linters and 100-go-mistakes you can also consider the following projects:
gosec - Go security checker
go - The Go programming language
check-all-the-things - check all of the things!
go-multierror - A Go (golang) package for representing a list of errors as a single error.
Clippy - A bunch of lints to catch common mistakes and improve your Rust code. Book: https://doc.rust-lang.org/clippy/
cognitive-load - 🧠Cognitive Load In Software Development
rustsec - RustSec API & Tooling
gobyexample - Go by Example
gurl
go101 - An up-to-date (unofficial) knowledge base for Go programming self learning
factorio - Go cross-compiler
guide - The Uber Go Style Guide.
linters vs gosec
100-go-mistakes vs go
linters vs check-all-the-things
100-go-mistakes vs go-multierror
linters vs Clippy
100-go-mistakes vs cognitive-load
linters vs rustsec
100-go-mistakes vs gobyexample
100-go-mistakes vs gurl
100-go-mistakes vs go101
100-go-mistakes vs factorio
100-go-mistakes vs guide