Advent of code day 1

As we wind down to Christmas, I do enjoy the daily coding challenges that come with the advent of code. https://adventofcode.com/

This year I’m using it as a way of learning Golang, a language which is very popular in my current team but something I haven’t coded much in.

First impressions, it’s nice simple syntax, fast, pretty easy going!

I like the error returns and the checking of unused imports which failed compilation! I’m expecting it to be more and more opinionated as I use it to force good practice. Eg I also noticed VSCode moaning about not dealing with an err before deferring a file close. Nice.

It was slightly annoying having to switch vars when converting strings to ints as they needed to be explicit int64… Not something I’m used to in other languages which hide this detail. Still, not a huge issue.

You can find my progress here!

(Spoilers obviously)

https://github.com/mrkyle7/advent25

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.