Awesome
Advent of Code 2020 Solutions
Solutions to the 2020 edition of Advent of Code.
Running
I'm starting (and might stick with) npm install -g ts-node
and then just ts-node day01.ts
.
Then again, this might be an excuse to try Deno?
Lessons Learned
Some learned lesson for each day:
- Dev setups ar nearly never trivial.
- Dev may require ramping up first.
- Devs filling in blanks might be needed sometimes.
- Devs should test code with realistic data.
- Abstractions will leak.
- Not everything is as hard as it seems.
- See point 7 and then some, unless you've done that a million times already, then just smile a little.
- Devs should see certain tasks coming.
- Security is hard to get right.
- Mental models of graphs are tough.
- The Game of Life is hard, but fun!
- Tiredness lowers IQ.
- AoC is not compatible with a WoW 'addiction'.
- AoC is not compatible with a WoW 'addiction'.
- AoC is not compatible with a WoW 'addiction'.
- AoC is not compatible with a WoW 'addiction'.
- AoC is not compatible with a WoW 'addiction'.
- AoC is not compatible with a WoW 'addiction'.
- AoC is not compatible with a WoW 'addiction'.
- AoC is not compatible with a WoW 'addiction'.
- AoC is not compatible with a WoW 'addiction'.
- AoC is not compatible with a WoW 'addiction'.
- AoC is not compatible with a doing 'meta' work around AoC.
- AoC is not compatible with a WoW 'addiction'.
- Doing what you love most is most important.
Compendium Repositories
I've created a browser extension for Google Chrome and Mozilla Firefox. It is open source to spice up your private leaderboard page with graphs if you want to contribute!
Here's direct links to every year's solutions I have so far:
- Advent of Code 2015 solutions: not available yet!
- Advent of Code 2016 solutions: not available yet!
- Advent of Code 2017 solutions, in JavaScript
- Advent of Code 2018 solutions, in C#
- Advent of Code 2019 solutions, in Python
- Advent of Code 2020 solutions, in TypeScript
- Advent of Code 2021 solutions, in PHP
- Advent of Code 2022 solutions, in JavaScript
- Advent of Code 2023 solutions, in TypeScript