Skip to content

mwwoda/advent-of-code-2022

Repository files navigation

Advent of Code 2022 in idiomatic Kotlin

This repository shows AoC 2022 solved using idiomatic Kotlin. The code written in this project tries to adhere to the following principles

  • immutability over mutability
  • expressions over statements
  • preference of functional programming
  • reduction of state and side effects
  • standard library over writing from scratch
  • the more syntax sugar the better

Some exceptions can be made to the above rules if the problem requires further optimization, better readability or for other reasons. Not all solutions are optimal in terms of space and time complexity, but execution time should be reasonable. Sometimes syntax can be fancy just for the sake of being fancy.

About

Advent of Code 2022 in idiomatic Kotlin

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages