No description
Find a file
Matej Focko 6ae1df8015
docs: add Obsidian docs
Signed-off-by: Matej Focko <me@mfocko.xyz>
2026-01-08 10:19:14 +01:00
app refactor(io): simplify parsing a bit 2025-12-13 18:04:26 +01:00
docs/Advent of Code 2025 docs: add Obsidian docs 2026-01-08 10:19:14 +01:00
gradle chore(gradle): bump gradle wrapper to 9.1.0 2025-12-05 20:28:30 +01:00
.editorconfig chore: add editorconfig 2025-12-06 07:37:44 +01:00
.envrc chore(devenv): init 2025-11-30 22:32:49 +01:00
.gitattributes chore(gradle): init 2025-12-01 06:53:48 +01:00
.gitignore chore(git): create directory and ignore AoC inputs 2025-12-01 07:02:01 +01:00
devenv.lock chore(devenv): init 2025-11-30 22:32:49 +01:00
devenv.nix chore(devenv): use latest gradle 2025-12-01 06:56:30 +01:00
devenv.yaml chore(devenv): init 2025-11-30 22:32:49 +01:00
gradle.properties chore(gradle): init 2025-12-01 06:53:48 +01:00
gradlew chore(gradle): bump gradle wrapper to 9.1.0 2025-12-05 20:28:30 +01:00
gradlew.bat chore(gradle): bump gradle wrapper to 9.1.0 2025-12-05 20:28:30 +01:00
README.md docs: add Obsidian docs 2026-01-08 10:19:14 +01:00
settings.gradle.kts chore: switch to new package for lib 2025-12-04 00:09:29 +01:00

Intro

Solving Advent of Code 2025 in Java.

Used libraries

Summary

!

Advent of Code itself

I have a bit of mixed feelings. Thankfully, this year, there was only one day that was particularly obnoxious with regards to parsing.

There were only 12 days instead of the usual 25. I have tried to solve all days at 6am (CET) and… I'm not very used to writing Java at 6am to be honest 😄 So I definitely don't mind an early end on that front 👀 Though it is quite known that the complexity of the tasks grows towards the end of the AoC, so this year might seem a bit easy-going? I can understand the need for a bit of a challenge.

Java

Even though Java is the first language I've learnt and also learnt to hate further on, it was quite pleasent experience in my opinion. I confess to abusing the streams and other FP-like “features”.

I definitely hate the boilerplate for each day… but looking back at it, it makes it quite customizable, so, for example, in [day #8] I was able to simply add the constraint (which was different for sample and challenge input) to constructor and it allowed pretty easy testing and computing the challenge at the same time.

Toolchain

I didn't feel comfortable working with either IDEA or VSCode. They each have their own quirks, e.g., not working completion (which is definitely helpful with streams and data structures), or issues running the puzzles in a way that would fit my workflow.

OTOH it was a quite pleasant experience with testing (apart from constructors in classes that are not instantiated) and also doc-generation. Though I feel that javadoc is still… bit obscure format for me.

Table of Contents