Solving Advent of Code, but with a different programming language each day!
Because why not?
Advent of Code is an annual programming challenge held every December: a series of daily puzzles ranging from easy to hard. I decided to solve each day of the 2015 edition in a different programming language.
Why?
The goal was to broaden my horizons and explore different programming paradigms: functional, imperative, object-oriented and declarative. Along the way, I discovered many concepts I had never used before, such as monads in Haskell, pattern matching in Lua and regular expressions in Awk.
What I’ve learned
Each day was a new adventure: learning the syntax and semantics of a new language, finding the right data structures and algorithms, then debugging and testing my code. By the end, I had worked with a wide range of languages, from Bash to Kotlin and from Perl to Mathematica.
My biggest takeaway was better problem-solving skills. Each puzzle required me to analyze the problem, identify its key constraints and design an efficient solution. Doing this every day for 25 days taught me to think more logically and systematically, which has since helped me in many other areas of programming and beyond.
It was an incredibly rewarding experience, and I highly recommend Advent of Code to anyone looking to challenge themselves.
All my solutions are available on GitHub.