Live data from Hacker News

Ask HN: What is the best way to learn Go?

news.ycombinator.com

11–17 of 17 posts

Re: Ask HN: What is the best way to learn Go?

#11
https://quii.gitbook.io/learn-go-with-tests

Learn go with tests shows you the "go way" to do it, and introduces you to its integrated testing system while also teaching you go's language concepts.

I highly recommend it, it's awesome and was definitely worth doing it even whennyou are an experienced go programmer already.

The key to benefit from go's toolchain the most is to set your opinions aside. Once you do that, the toolchain will automate so many things for you that you will learn to like only a couple weeks later because it takes time for the conventions to sink in...

Re: Ask HN: What is the best way to learn Go?

#13
post #6

40 yrs jeez. question sir, why not rust or typescript or python? what makes you want golang?

One can only learn these languages after 40 years, or what is your actual point?

guy has 40 yrs experience

in his 40yr career im asking what makes him want golang over rust ts and python, maybe he sees something that my 10yo xp ass dont which can make me want to try golang

the downvotes are funny, are people here really anal about their age lol

Re: Ask HN: What is the best way to learn Go?

#15

https://quii.gitbook.io/learn-go-with-tests Learn go with tests shows you the "go way" to do it, and introduces you to its integrated testing system while also teaching you go's language concepts. I highly recommend it, it's awesome and was definitely worth doing it even whennyou are an experienced go programmer already. The key to benefit from go's toolchain the most is to set your opinions aside. Once you do that,…

I have a very good memory on this

Re: Ask HN: What is the best way to learn Go?

#16
Here's how I did it as someone previously competent in C, C#, Java, etc.

I started here: https://go.dev/learn/

1. Did the Go Tour: https://go.dev/tour/welcome/1

2. Then Getting Started: https://go.dev/doc/tutorial/getting-started

Then, I started a non-trivial project using the excellent Go docs and LearnXinYMinutes as references. https://learnxinyminutes.com/docs/go/

Once I kind of got the hang of Go, I started using Go by Example much more. I've never read a Go book.

With competent prompting, Claude.ai seems pretty good at generating Go code and explaining Go code and this has really accelerated it for me.

All together, I started from not knowing Go to beginning on a non-trivial program in my first 4 hours. It was super great.

Re: Ask HN: What is the best way to learn Go?

#17
This series is excellent and underrated. Go Class:

https://www.youtube.com/playlist?list=PLoILbKo9rG3skRCj37Kn5...

This guy made this for his teammates as a Christmas present and then released it for free when he could have charged money for it somewhere like Udemy or Coursera.

Post reply on HN