Home  |  About  |  RSS antonfagerberg.com

Advent of Code 2022 in Go

01 Dec 2022

It’s that time of the year again: Advent of Code! I read a good blog post that you should always focus on doing one thing at a time - for example, not learning a new language and solve an unknown problem at the same time. Advent of code has been a way for me to explore different programming languages every year. Last year I gave up on Ruby after a few problems and continued with Java - just to solve more problems.

This year my focus will be on learning Go, and because of that I will do fewer problems (and probably focus on the smaller ones) - the goal is to learn a completely new language, not solve as many problems as possible.

The second (bigger) challenge for me this year will be to invest a healthy amount of time into this. It’s sooo easy to get carried away and stay up way too late just to complete another problem. This year I will need to handle that aspect better - I have three small kids now and I desperately need decent sleep and down time.

Anyway, Go has been on my radar for a long time, it seems to be a really nice low level-ish language. Simple but powerful. I hope it will be a good addition to my toolbox of programming languages. I’ve been playing around with my old Raspberry Pi 2 & 3 and Go seems to be a good fit for writing software for these low performance devices.

Without further ado, Advent of Code 2022 in Go!

Previous years