/aoc2021

Solutions to Advent of Code 2021

Primary LanguageRust

Solutions to https://adventofcode.com/ for 2021.

My best shot at attempting to show that Rust is suitable for small algorithmic problems.

Notes:

  • You might notice my code is full of unwrap(); this is intentional. Although this practice is generally frowned upon on production code, I consider it best practice on run-once programs. On one hand, these invocations to unwrap() would only manifest in case of a bug. On the other hand, the panic stacktrace is really handy (no pun intended) when debugging.
  • I know creating a procedural macro to enumerate all daily modules in main.rs is overkill. But this is my AoC repo and you are here, so you might find it interesting after all :)