N
N
nakem2021-09-22 23:51:36
go
nakem, 2021-09-22 23:51:36

How to write good code in Go?

I recently switched to Go. I have a year of C/C++ experience. In short, jun.
I have an idea about oop, web, general solutions. I can try to distinguish good code from bad.
But Go seems to be different. Projects like OOP, but kind of not. I send the PR, the guys edit it, and then I send it again, and they edit it again. And so on up to 3-5 iterations. Of course, I feel that I am starting to write better, but I do not think that this approach will suit.
Advise a way to actually start writing quality code in Go. Maybe there are books, courses, videos or something like that

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexey〒., 2021-09-23
@nakem

https://golang.org/doc/effective_go
https://github.com/cristaloleg/go-advice
https://dave.cheney.net/practical-go/
https://github.com/golang/go/ wiki/CodeReviewComments
https://github.com/golang/go/wiki/SliceTricks
It is also useful to study large open source projects on Github

V
Vladimir Kolosov, 2021-10-02
@magic2k

Ultimate Go by William Kennedy

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question