Skip to content

chaichontat/advent-of-code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

f6ed98e · Jan 3, 2025
Aug 18, 2021
Sep 7, 2021
Jan 3, 2025
Aug 20, 2023
Jan 3, 2025
Aug 20, 2023
Aug 20, 2023
Jul 27, 2021

Repository files navigation

Advent of Code Solutions

GitHub Actions GitHub Actions

An evolving repository of best practices in software engineering that I'm aware of. A lot of inspiration came from the community, especially these where I usually could not improve on anything.

Philosophy

July 2021

  • Code should be written for humans.
    • As declarative and functional as is reasonable.
    • Code focuses on the algorithm rather than the implementation. For example, explicitly name Dijkstra's algorithm rather than moving a bunch of things around a priority queue.
  • Rust
  • Python
    • Enforce strict static type checking.
    • Avoid None like SARS-CoV-2.

December 2020

  • Brute force only when necessary.
  • Readable and maintainable code.
  • "Elegant" solutions.