I've completed "Secret Entrance" - Day 1 - Advent of Code 2025 #AdventOfCode https://adventofcode.com/2025/day/1

I always try to represent the input to these puzzles in memory as closely to the original input as possible short of just storing the raw bytes of the input file. You never know if a decision regarding data representation will makes part 2 more or less difficult. If I were to solve it again i would just use a signed integers per row. also using odin this year

aoc2025/day01 at main · BrownBuilding/aoc2025

My solutions to Advent of Code 2025. Contribute to BrownBuilding/aoc2025 development by creating an account on GitHub.

GitHub
@reisrag I like to get Part 1 done without worrying too much about details like this and then potentially refactor as appropriate for Part 2.

@0x1ac I like to think that the uncertainty of Part Two is part of the challenge. I believe it's supposed to represent the uncertainty of changing requirements of "real life" programming, and that it is something one can become good at dealing with.

Choosing the right representation from the start so that you don't have to refactor anything feels like an extra gold star ⭐.

or maybe i'm just imagining things

@reisrag It can be very satisfying when Part 2 takes you a couple of seconds to solve because it's just changing a parameter to a function because you anticipated it.

However, Eric likes to make Part 2 surprising sometimes and then you find the premature refactoring you did was the wong idea.