r/adventofcode • • Dec 04 '20

Funny Example: 5x5 grid. Input: 34298434x43245 grid

Post image
365 Upvotes

38 comments sorted by

View all comments

Show parent comment

1

u/[deleted] Dec 04 '20

Thank you for this pearl of wisdom. Feel like I have slowly been moving to understand this and this post just cemented the idea.

When needed throw out the specific case and bring in the general case without touching having to touch code around it sounds like the way.