Hugo Hacker News

Ask HN: Learning Go, what’s the best steps to take to better educate myself

_benj 2021-08-16 18:35:45 +0000 UTC [ - ]

I learned Go a few years ago and is now the main language that I use professionally.

Building something with it would be a good start but learning around go routines, channels, interfaces, etc. is something that is often missed by people coming from other languages, but it’s the main thing that gives go it’s value.

After learning the basics with the go tour, gobyexample, et al spend sometime learning and understanding go routines and channels, the problem that they try to solve and go help solve those specific problems.

One example comes to mind, when non-go teammates review my code they are often confused by all of the infinite loops in it (for {…}) but the pattern on an infinite loop with a select, not switch, statement inside a go routine is super common in go but quite confusing to people new to the language

Good luck!

machiaweliczny 2021-08-16 16:30:27 +0000 UTC [ - ]

enduku 2021-08-16 15:02:18 +0000 UTC [ - ]

Ultimate Go [0] maybe another option. Heard some good things about it. I haven't tried it though. [0]https://education.ardanlabs.com/bundles/Ardanlabsonline

complainic 2021-08-16 16:21:28 +0000 UTC [ - ]

I found the online version of this course useful. Have heard good things about the in person training too.

hulug 2021-08-16 16:08:17 +0000 UTC [ - ]

* the intro

* google + gobyexample

* "the go programming language" by Donovan and Kernighan (haven't read it myself but seen positive reviews)

2021-08-16 15:58:46 +0000 UTC [ - ]