Advent of code 2021

I’ve once again had fun with Advent of code. I’m still using it as a motivation to learn and be better at programming Go(lang).

Here are some observations from the challenge rund this year:

  • The hardest challenges was more often in understanding the task and make sure all rules was understood correctly.
  • Despite Go (1.17) being a small language, it has all needed to solve any of the challenges.
  • While I may not write Idiomatic Go - I do write readable code - even for people who don’t know Golang.
  • Imposing a self-imposed rule of “not imports” (beyond standard library) makes it harder to solve, but I learn more.

I’ve uploaded most of the solutions to Github, but still needed to clean and rewrite the code from the last days before they are “shareable” :-)