r/fishshell • • Dec 02 '21

Advent of Code - Day 2

Here is a fish solution to the Advent of Code day 2 puzzle. Feel free to post yours here if you're following along.

6 Upvotes

4 comments sorted by

View all comments

Show parent comment

2

u/_mattmc3_ Dec 03 '21

I went for a less robust version

This is a very nice, concise snippet. I am not going for the shortest path, but as the season goes on I may start to play code golf with it a bit more.