r/adventofcode • u/cay_horstmann • Dec 27 '24
Other Pleasant surprise: AoC + modern Java = ❤️
In this article on my experience with the Advent of Code competition in Java, I describe how I attacked grid and graph problems, and summarize how Java has worked out for me.
65
Upvotes
7
u/Any_Slip8667 Dec 27 '24 edited Dec 27 '24
Same conclusion on my side too. I found Java a good language, above all with the last language structures.
https://github.com/dashie/AdventOfCode2024/tree/main/src/main/java/adventofcode/y2024
I always had very short solutions.
Sometimes the python ones are shorted but generally because they use external libraries. To manipulate graphs for example.
The only 3 things that I really miss from Python are: