3 ms·
I suggest: Do "Advent of Code" 2022 using Go as an enjoyable way to start learning the language. https://adventofcode.com https://adventofcode.com It starts t
by jmull 4y ago
I suggest: Do "Advent of Code" 2022 using Go as an enjoyable way to start learning the language.
https://adventofcode.com https://adventofcode.com
It starts tomorrow, I believe (also previous years are available). A new puzzle is released each day (until Christmas I think). You can use any programming language you like to solve them. The puzzles start pretty simple but get very good as it goes along.
You can race other people but when you're doing it for the purpose of learning a language, I'd take time to explore the language.
Personally, I'd complete each puzzle without looking at anyone else's solution, and then compare to solutions from others, hopefully you can find solutions from some experienced Go programmers. Since you'll understand the problem really well, you'll be able to focus on the different language decisions they made. Well, you do need to be a little careful, because people will use shortcuts that are fine for this but would be horrible in code you don't throw away.
(You might be able to tell: I'm intending to do this myself, with rust.)