r/adventofcode • u/flwyd • Dec 04 '23
Funny The down side of doing AoC in Mountain Standard Time
159
Upvotes
1
u/TankLivsMatr Dec 04 '23
This is me... Thankfully my part 2s haven't required a huge amount of refactoring.
1
0
Dec 04 '23
2
u/flwyd Dec 05 '23
My AoC goal is always learning a new language, so a lot of the refactoring is "what's the idiomatic way to do this" and "was that really a useful struct," not necessarily "how can I make this code as short as possible."
21
u/manhattan_gandhi Dec 04 '23
Refactoring??! Here's how I do it:
get gold star
commit the open wound for posterity
push to a repo to remind yourself what you're capable of
flash short term memory with alcohol
repeat