Skip to content

Latest commit

 

History

History
15 lines (8 loc) · 1.17 KB

README.md

File metadata and controls

15 lines (8 loc) · 1.17 KB

Advent of Code 2022

Solutions to Advent of Code's 2022 Calendar

Scripts require Python 3.10

In order to layout the subdirectories ahead of time, each Part subdir has a .gitignore file in it. This is the dirty work around the internet suggested (Thanks stack exchange!). If you want to use this, then when you add code to the subdir, then please remove the .gitignore file.

Why Python 3.10?

When I first learned to program, I learned C# first, then C++ (I'm not going to count the time wasted on BASIC). Those languages supported switch statements for conditional execution. Python has been lacking switch statements outside of a long elif chain until the release of version 3.10. I prefer the elegance, readability, and less typing of a switch statement opposed to long chains of elif.

About Advent of Code

Advent of Code is a collection of programming challenges created by Eric Wastl, released as an advent calendar (one release a day from Dec 1 to Dec 25) since 2015. To challenge the puzzles yourself, or to find out more about Advent of Code, check out their website!