Clarify overall strategy

This commit is contained in:
Adam Millerchip 2020-12-03 18:46:19 +09:00 committed by GitHub
parent ed1b80a06c
commit 7483608460
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,14 +6,14 @@ My (attempted) solutions to [Advent of Code 2020](https://adventofcode.com/2020)
## Strategy ## Strategy
If this year is like 2018, the last time I did this, each problem will be split into multiple parts. If this year is like 2018, the last time I did this, each problem will be split into two parts.
Later parts can result in considerable refactoring of earlier parts, so I will split each part into its own file, like this: The second part can result in considerable refactoring of the first part, so I will split each part into its own file, like this:
* `day1/` * `day1/`
* `day1.exs` (when the solution is only in one part) * `day1part1.exs` - solution to part 1
* `day2/` * `day1part2.exs` - solution to part 2
* `day2part1.exs` * `README` - my summary and notes relating to the day's problem
* `day2part2.exs` * `input` - input file downloaded from Advent of Code (if applicable)
If I get stuck, my instinct is to be persistent and take as long as it takes to solve the problem. If I get stuck, my instinct is to be persistent and take as long as it takes to solve the problem.
However I think this year I don't want the pressure of days piling up and this is supposed to be fun, However I think this year I don't want the pressure of days piling up and this is supposed to be fun,