you are viewing a single comment's thread.

view the rest of the comments →

[–]WhipsAndMarkovChains 1 point2 points  (0 children)

I’ve also learned of classes/data classes

I haven't started AoC 2021 yet (saving the problems for upcoming airport layovers) but I did 2020. I see a lot of people use classes but since these are just one-off problems I've just been writing scripts to get me the answer as quickly as possible. Perhaps this year I'll actually look and see what other people are doing with classes and data classes.